]> git.pld-linux.org Git - packages/plplot.git/commitdiff
- shebang fixes auto/th/plplot-5.14.0-7
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 17 Jan 2020 08:27:09 +0000 (09:27 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 17 Jan 2020 08:27:09 +0000 (09:27 +0100)
- rel 7

plplot.spec

index 78d8a30274c1fb6781629830d7fb919dbcd28147..dd7d8c71ef29fa6ccc730b6a1419b573405d0b95 100644 (file)
@@ -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
This page took 0.17732 seconds and 4 git commands to generate.