[packages/python-simplexml] - fix shebang - rel 3

baggins baggins at pld-linux.org
Tue Mar 9 22:53:20 CET 2021


commit 0984783d26164057c1c880e484e9082ca2ca6cb0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Mar 9 22:53:02 2021 +0100

    - fix shebang
    - rel 3

 python-simplexml.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/python-simplexml.spec b/python-simplexml.spec
index 35f0e30..d55302a 100644
--- a/python-simplexml.spec
+++ b/python-simplexml.spec
@@ -6,7 +6,7 @@ Summary:	Simplexml in Python
 Summary(pl.UTF-8):	simplexml w Pythonie
 Name:		python-%{module}
 Version:	0.6.5
-Release:	2
+Release:	3
 License:	GPL
 Group:		Libraries/Python
 Source0:	http://www.fit.vutbr.cz/~smrcka/projects/simplexml/%{module}-%{version}.tar.gz
@@ -63,6 +63,9 @@ Python 2.x version.
 %prep
 %setup -q -n %{module}-%{version}
 
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' \
+      simplexml
+
 %build
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-simplexml.git/commitdiff/0984783d26164057c1c880e484e9082ca2ca6cb0



More information about the pld-cvs-commit mailing list