[packages/python-PyQt4] - fix shebangs - rel 6

baggins baggins at pld-linux.org
Thu Mar 4 22:25:59 CET 2021


commit 60a16347d15c929c3dfb2bb3c3b9589f2a6f0449
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Mar 4 22:25:42 2021 +0100

    - fix shebangs
    - rel 6

 python-PyQt4.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/python-PyQt4.spec b/python-PyQt4.spec
index a71c8c2..f53f6b1 100644
--- a/python-PyQt4.spec
+++ b/python-PyQt4.spec
@@ -14,7 +14,7 @@ Summary:	Python 2 bindings for the Qt4 toolkit
 Summary(pl.UTF-8):	Wiązania Pythona 2 do toolkitu Qt4
 Name:		python-%{module}
 Version:	4.12.1
-Release:	5
+Release:	6
 Epoch:		1
 License:	GPL v3
 Group:		Libraries/Python
@@ -219,6 +219,11 @@ kodu wykorzystującego PyQt4.
 %patch0 -p1
 %patch1 -p1
 
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' \
+      examples/*/*/*/*.py \
+      examples/*/*/*.py \
+      examples/*/*.py
+
 %build
 %if %{with python2}
 install -d build-py2
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-PyQt4.git/commitdiff/60a16347d15c929c3dfb2bb3c3b9589f2a6f0449



More information about the pld-cvs-commit mailing list