]> git.pld-linux.org Git - packages/python-PyQt4.git/commitdiff
- fix shebangs auto/th/python-PyQt4-4.12.1-6
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 4 Mar 2021 21:25:42 +0000 (22:25 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 4 Mar 2021 21:25:42 +0000 (22:25 +0100)
- rel 6

python-PyQt4.spec

index a71c8c2e8b582737de9cd28200ca10480881c5bf..f53f6b119b4fd8a82c31bf0474fb59948a1fa0eb 100644 (file)
@@ -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
This page took 0.141467 seconds and 4 git commands to generate.