diff --git a/python3.spec b/python3.spec index a536792acd8..8a1aab09f91 100644 --- a/python3.spec +++ b/python3.spec @@ -46,7 +46,6 @@ make %{makeprocesses} make %{makeprocesses} install sed -i -e "s|^#!.*python%{pythonv} *$|#!/usr/bin/env python%{python_major}|" %{i}/bin/* %{i}/lib/python*/*.py sed -i -e 's|^#!/.*|#!/usr/bin/env python%{pythonv}m|' %{i}/lib/python*/config-*/python-config.py -sed -i -e 's|^#! */usr/local/bin/python|#!/usr/bin/env python|' %{i}/lib/python*/cgi.py # is executable, but does not start with she-bang so not valid # executable; this avoids problems with rpm 4.8+ find-requires