From 5a020810d43e0d0d13a1ce896997dfc7155fa8c9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 27 Jul 2010 20:07:56 +0000 Subject: [PATCH] - preamble fix Changed files: python.spec -> 1.20 --- python.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python.spec b/python.spec index 1012c59..2716c49 100644 --- a/python.spec +++ b/python.spec @@ -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}" \ -- 2.44.0