summaryrefslogtreecommitdiff
path: root/python-av.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-av.spec')
-rw-r--r--python-av.spec8
1 files changed, 3 insertions, 5 deletions
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