[packages/plplot] - shebang fixes - rel 7

baggins baggins at pld-linux.org
Fri Jan 17 09:29:01 CET 2020


commit f933659c1f876e84f34092aea14f5df3201b7ed2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Jan 17 09:27:09 2020 +0100

    - shebang fixes
    - rel 7

 plplot.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/plplot.spec b/plplot.spec
index 78d8a30..dd7d8c7 100644
--- a/plplot.spec
+++ b/plplot.spec
@@ -35,7 +35,7 @@ Summary:	PLplot - a library of functions that are useful for making scientific p
 Summary(pl.UTF-8):	PLplot - biblioteka funkcji przydatnych do tworzenia wykresów naukowych
 Name:		plplot
 Version:	5.14.0
-Release:	6
+Release:	7
 License:	LGPL v2+
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/plplot/%{name}-%{version}.tar.gz
@@ -626,6 +626,11 @@ Biblioteka PLplot - przykłady do wiązania dla Pythona.
 %patch3 -p1
 %patch7 -p1
 
+%{__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,' \
+      examples/python/* \
+
 %build
 mkdir build
 cd build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/plplot.git/commitdiff/f933659c1f876e84f34092aea14f5df3201b7ed2



More information about the pld-cvs-commit mailing list