[packages/inkscape] - fix shebangs

baggins baggins at pld-linux.org
Mon Mar 23 11:08:02 CET 2020


commit c58cbea3e300f28a5eeab3acb9844e1f7698e1e3
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Mar 23 11:05:47 2020 +0100

    - fix shebangs

 inkscape.spec | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
---
diff --git a/inkscape.spec b/inkscape.spec
index b278cbf..7a9fe7f 100644
--- a/inkscape.spec
+++ b/inkscape.spec
@@ -118,6 +118,24 @@ dwuwymiarowej grafiki wektorowej.
 
 %{__sed} -i -e 's,po/Makefile.in,,' configure.ac
 
+
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python2(\s|$),#!%{__python}\1,' -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python}\1,' \
+      CMakeScripts/cmake_consistency_check.py \
+      buildtools/msys2checkdeps.py \
+      cxxtest/cxxtestgen.py \
+      packaging/scripts/lp-mark-bugs-released \
+      packaging/wix/*.py \
+      share/extensions/*.py \
+      share/extensions/*/*.py \
+      share/*/i18n.py
+
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+ruby(\s|$),#!%{__ruby}\1,' \
+      share/extensions/*.rb
+
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+perl(\s|$),#!%{__perl}\1,' \
+      share/attributes/genMapDataCSS.pl \
+      share/attributes/genMapDataSVG.pl
+
 %build
 %{__libtoolize}
 %{__gettextize}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/inkscape.git/commitdiff/c58cbea3e300f28a5eeab3acb9844e1f7698e1e3



More information about the pld-cvs-commit mailing list