diff --git a/python-astor.changes b/python-astor.changes index 9a1aa4a..a4c7158 100644 --- a/python-astor.changes +++ b/python-astor.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Apr 3 21:34:35 UTC 2020 - Marcus Rueckert + +- remove the shebang line from the rtrip.py otherwise the python3 + package will require /usr/bin/python. + ------------------------------------------------------------------- Wed Mar 25 15:11:49 UTC 2020 - Paolo Stivanin diff --git a/python-astor.spec b/python-astor.spec index 6405354..a0e51ed 100644 --- a/python-astor.spec +++ b/python-astor.spec @@ -63,10 +63,11 @@ There are some other similar libraries, but astor focuses on the following areas %prep %setup -q -n astor-%{version} %patch0 -p1 -# ugly fix for the use of /usr/bin/env -sed -i 's@env @@' astor/rtrip.py %build +# ugly fix for the use of /usr/bin/env +sed -i 's@#!.*@@' astor/rtrip.py +chmod a-x astor/rtrip.py %python_build %install