From: Jan Rękorajski Date: Fri, 17 Jan 2020 08:27:09 +0000 (+0100) Subject: - shebang fixes X-Git-Tag: auto/th/plplot-5.14.0-7 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=f933659c1f876e84f34092aea14f5df3201b7ed2;p=packages%2Fplplot.git - shebang fixes - rel 7 --- 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