Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pexpect for openSUSE:Factory checked in at 2021-08-06 22:44:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pexpect (Old) and /work/SRC/openSUSE:Factory/.python-pexpect.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pexpect" Fri Aug 6 22:44:31 2021 rev:34 rq:910353 version:4.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pexpect/python-pexpect.changes 2020-03-27 00:22:01.180157183 +0100 +++ /work/SRC/openSUSE:Factory/.python-pexpect.new.1899/python-pexpect.changes 2021-08-06 22:44:56.954052675 +0200 @@ -1,0 +2,7 @@ +Thu Aug 5 12:42:51 UTC 2021 - Dominique Leuenberger <dims...@opensuse.org> + +- Remove executable flag from examples/*.py: since we already patch + out the shebangs, they are not directly startable anyway + (boo#1189065). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pexpect.spec ++++++ --- /var/tmp/diff_new_pack.lB0los/_old 2021-08-06 22:44:57.474051752 +0200 +++ /var/tmp/diff_new_pack.lB0los/_new 2021-08-06 22:44:57.474051752 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pexpect # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -51,6 +51,8 @@ # Fix wrong-script-interpreter find examples -type f -name "*.py" -exec sed -i "s|#!%{_bindir}/env python||" {} \; find examples -type f -name "*.cgi" -exec sed -i "s|##!%{_bindir}/env python|##!%{_bindir}/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 {} \; %build %python_build