template-specs: python.spec - preamble fix

glen glen at pld-linux.org
Tue Jul 27 22:08:02 CEST 2010


Author: glen                         Date: Tue Jul 27 20:08:02 2010 GMT
Module: template-specs                Tag: HEAD
---- Log message:
- preamble fix

---- Files affected:
template-specs:
   python.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: template-specs/python.spec
diff -u template-specs/python.spec:1.19 template-specs/python.spec:1.20
--- template-specs/python.spec:1.19	Mon Jul 26 12:57:31 2010
+++ template-specs/python.spec	Tue Jul 27 22:07:56 2010
@@ -28,6 +28,9 @@
 %prep
 %setup -q -n %{module}-%{version}
 
+# fix #!/usr/bin/env python -> #!/usr/bin/python:
+%{__sed} -i -e '1s,^#!.*python,#!%{__python},' %{name}.py
+
 %build
 # CC/CFLAGS is only for arch packages - remove on noarch packages
 CC="%{__cc}" \
@@ -64,6 +67,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2010/07/27 20:07:56  glen
+- preamble fix
+
 Revision 1.19  2010/07/26 10:57:31  pawelz
 - BR: python-devel is for native python extensions only
 - BR: python-distribute
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/template-specs/python.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list