[projects/template-specs] Don't change 'python3' to 'python33'

jajcus jajcus at pld-linux.org
Tue Oct 29 13:02:56 CET 2013


commit 073f936a1e61b0e8a433dc24d97e64a5d8e93d3a
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Oct 29 13:00:51 2013 +0100

    Don't change 'python3' to 'python33'

 python.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/python.spec b/python.spec
index 3aeb9bf..54daf1a 100644
--- a/python.spec
+++ b/python.spec
@@ -115,7 +115,7 @@ cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 find $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} -name '*.py' \
-	| xargs sed -i '1s|^#!.*python|#!%{__python3}|'
+	| xargs sed -i '1s|^#!.*python\b|#!%{__python3}|'
 %endif
 
 # when files are installed in other way that standard 'setup.py
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/073f936a1e61b0e8a433dc24d97e64a5d8e93d3a



More information about the pld-cvs-commit mailing list