diff --git a/python-pexpect.changes b/python-pexpect.changes index 15fc8fe..1a0d69e 100644 --- a/python-pexpect.changes +++ b/python-pexpect.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 23 08:37:45 UTC 2023 - Matej Cepl + +- Clean up SPEC file + ------------------------------------------------------------------- Fri Jan 6 20:51:12 UTC 2023 - Dirk Müller diff --git a/python-pexpect.spec b/python-pexpect.spec index 9c17386..56597c2 100644 --- a/python-pexpect.spec +++ b/python-pexpect.spec @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pexpect Version: 4.8.0 Release: 0 @@ -56,6 +55,9 @@ find examples -type f -name "*.cgi" -exec sed -i "s|##!%{_bindir}/env python|##! # Mark example *.py as non-executable (we already patch the shebang out, so they can't be started anyway) find examples -type f -name "*.py" -exec chmod 644 {} \; +# Remove shebang +sed -i '1 {/^#!/d}' pexpect/FSM.py + %build %python_build