summaryrefslogtreecommitdiff
path: root/python-av.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-04-14 16:29:04 +0000
committerCoprDistGit <infra@openeuler.org>2024-04-14 16:29:04 +0000
commit193492457fdcfa211e8f0b02da18da64b1d6af5d (patch)
tree976278f609b488948dd22b2131a0320bf56b8ac5 /python-av.spec
parent009f839e543675b5009515533788f69b71287c81 (diff)
automatic import of python-av
Diffstat (limited to 'python-av.spec')
-rw-r--r--python-av.spec8
1 files changed, 2 insertions, 6 deletions
diff --git a/python-av.spec b/python-av.spec
index 128d848..570ab16 100644
--- a/python-av.spec
+++ b/python-av.spec
@@ -14,6 +14,8 @@ 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++
@@ -42,12 +44,6 @@ Summary: %{pkg_summary}
%{pkg_description}
%prep
-
-cat << EOF | tee -a ~/.bashrc
-alias python=python3
-EOF
-
-source ~/.bashrc
%autosetup -p1 -n PyAV-%{pypi_version}
%build