]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- preamble fix
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 27 Jul 2010 20:07:56 +0000 (20:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    python.spec -> 1.20

python.spec

index 1012c59c1a79de62ad4c013242d7450b5a48854e..2716c490adddd7ea2eaa8e5e187e854e4c3ab9f4 100644 (file)
@@ -27,6 +27,9 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %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}" \
This page took 0.02711 seconds and 4 git commands to generate.