Accepting request 1067328 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1067328 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=37
This commit is contained in:
commit
95fc995509
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 23 08:37:45 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Clean up SPEC file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 6 20:51:12 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user