commit b6d42d5f894d673fcedf5cc1ff633ca54b4cf27b
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sat Jul 8 17:27:14 2023 +0100
fix
python-vlc.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-vlc.spec b/python-vlc.spec
index 33ef355..b62bb53 100644
--- a/python-vlc.spec
+++ b/python-vlc.spec
@@ -14,7 +14,6 @@ Source0:
https://pypi.python.org/packages/source/p/%{pypi_name}/%{pypi_na
BuildArch: noarch
BuildRequires: python3-devel
-BuildRequires: /usr/bin/pathfix.py
BuildRequires: python3dist(setuptools)
%description
@@ -33,7 +32,8 @@ Requires: vlc-core >= 1.1.0
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
# fix shebang
-pathfix.py -pni %{__python3} examples/glsurface.py \
+sed -i -e 's@#!/usr/bin/python@#!/usr/bin/python3@g' \
+ examples/glsurface.py \
examples/play_buffer.py vlc.py
#fix rpmlint
chmod -x examples/cocoavlc.py examples/glsurface.py