commit eb68d672b16f6da71c513899b475677626d0720c
Author: Jan Palus <[email protected]>
Date:   Wed Oct 21 18:13:13 2020 +0200

    fix shebangs

 python-pygtk.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/python-pygtk.spec b/python-pygtk.spec
index 8cda568..37823f9 100644
--- a/python-pygtk.spec
+++ b/python-pygtk.spec
@@ -159,6 +159,8 @@ Dokumentacja API pygtk.
 %patch1 -p1
 %patch2 -p1
 
+grep -r '#!.*env python' -l examples | xargs %{__sed} -i -e '1s,#!.*env 
python.*,#!%{__python},'
+
 # don't remove it
 #mkdir m4
 #cp %{SOURCE1} m4/python.m4
@@ -171,6 +173,7 @@ Dokumentacja API pygtk.
 %{__autoheader}
 %{__automake}
 %configure \
+       PYTHON=%{__python} \
        --enable-thread \
        %{!?with_numpy:--disable-numpy}
 %{__make}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pygtk.git/commitdiff/eb68d672b16f6da71c513899b475677626d0720c

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to