diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | 0001-use-right-python-path.patch | 10 | ||||
-rw-r--r-- | python-av.spec | 8 | ||||
-rw-r--r-- | sources | 2 |
4 files changed, 5 insertions, 16 deletions
@@ -1 +1,2 @@ /PyAV-12.0.0.tar.gz +/PyAV-11.0.0.tar.gz diff --git a/0001-use-right-python-path.patch b/0001-use-right-python-path.patch deleted file mode 100644 index 3e18374..0000000 --- a/0001-use-right-python-path.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/Makefile 2024-03-21 15:50:49.000000000 +0800 -+++ b/Makefile 2024-04-14 22:59:47.417807442 +0800 -@@ -1,7 +1,7 @@ - LDFLAGS ?= "" - CFLAGS ?= "-O0" - --PYAV_PYTHON ?= python -+PYAV_PYTHON ?= python3 - PYTHON := $(PYAV_PYTHON) - diff --git a/python-av.spec b/python-av.spec index 570ab16..d4e4ca6 100644 --- a/python-av.spec +++ b/python-av.spec @@ -1,5 +1,5 @@ %global pypi_name av -%global pypi_version 12.0.0 +%global pypi_version 11.0.0 %global pkg_summary Pythonic bindings for FFmpeg's libraries. %global pkg_description %{expand: %{pkg_summary}} @@ -14,8 +14,6 @@ License: BSD-3-Clause URL: https://github.com/PyAV-Org/PyAV Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/PyAV-%{version}.tar.gz -Patch0: 0001-use-right-python-path.patch - BuildRequires: cmake BuildRequires: ninja-build BuildRequires: g++ @@ -47,7 +45,7 @@ Summary: %{pkg_summary} %autosetup -p1 -n PyAV-%{pypi_version} %build -make +%pyproject_build %install %pyproject_install @@ -59,4 +57,4 @@ make %changelog * Sun Mar 31 2024 YunShu -- add PyAV 12.0.0 +- add PyAV 11.0.0 @@ -1 +1 @@ -b65c0610bc48f3313dc527a52b0a3dd5 PyAV-12.0.0.tar.gz +d3773b2f13444ccd7ff3bc77ab08bded PyAV-11.0.0.tar.gz |