Issue 892673: Updated .spec file. (original) (raw)

Attached is a new .spec file which should be included in the next 2.3 or above release.

The key feature of this update is that it goes through a few files which have "#!/usr/local/bin/python" in them, and changes it to "/usr/bin/env python%{binsuffix}" (where %{binsuffix} is 2.3, in the default case). It also has some code in it to look for other files that weren't picked up but have /usr/local/bin/python in them, and tattle on them and exit the build.

This is to prevent future RPM releases from being uninstallable for most people.

Sean