]> git.pld-linux.org Git - projects/template-specs.git/blobdiff - python.spec
- preamble fix
[projects/template-specs.git] / 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.027304 seconds and 4 git commands to generate.