From 8c29ab34b28e00ea649bb5db5c8cdeb40c4fe3b3 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 14 Apr 2024 15:21:31 +0000 Subject: automatic import of python-av --- 0001-use-right-python-path.patch | 11 ----------- python-av.spec | 4 ++-- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 0001-use-right-python-path.patch diff --git a/0001-use-right-python-path.patch b/0001-use-right-python-path.patch deleted file mode 100644 index ed87597..0000000 --- a/0001-use-right-python-path.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile 2024-03-21 15:50:49.000000000 +0800 -+++ Makefile 2024-04-14 22:59:47.417807442 +0800 -@@ -1,7 +1,7 @@ - LDFLAGS ?= "" - CFLAGS ?= "-O0" - --PYAV_PYTHON ?= python -+PYAV_PYTHON ?= /usr/bin/python3 - PYTHON := $(PYAV_PYTHON) - - diff --git a/python-av.spec b/python-av.spec index 570ab16..b5d82db 100644 --- a/python-av.spec +++ b/python-av.spec @@ -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++ @@ -44,6 +42,8 @@ Summary: %{pkg_summary} %{pkg_description} %prep +# python is python3 +ln -s /usr/bin/python3 /usr/bin/python %autosetup -p1 -n PyAV-%{pypi_version} %build -- cgit v1.2.3