]> git.pld-linux.org Git - packages/python-gnome.git/commitdiff
- fix shebangs, rel 12 auto/th/python-gnome-2.28.1-12
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 3 Jun 2021 12:03:16 +0000 (14:03 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 3 Jun 2021 12:03:16 +0000 (14:03 +0200)
python-gnome.spec

index 69619e8514093a25d564ecf1b4d4912bc70e61db..98c0d62413db02622c488fa49c883e092102c699 100644 (file)
@@ -6,7 +6,7 @@ Summary:        GNOME bindings for Python
 Summary(pl.UTF-8):     Wiązania Pythona do bibliotek GNOME
 Name:          python-gnome
 Version:       2.28.1
-Release:       11
+Release:       12
 License:       LGPL v2.1+
 Group:         Libraries/Python
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-python/2.28/%{module}-%{version}.tar.bz2
@@ -201,6 +201,10 @@ Ten pakiet zawiera przykładowe programy dla python-gnome.
 
 %{__sed} -i -e 's,${DATADIR}/gtk-doc/html/,%{_gtkdocdir}/,' docs/gnomevfs/wscript
 
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' \
+      examples/*/*.py \
+      examples/*/*/*.py
+
 %build
 CC="%{__cc}" \
 CFLAGS="%{rpmcflags}" \
This page took 0.065365 seconds and 4 git commands to generate.