Accepting request 1067327 from home:mcepl:branches:devel:languages:python

- Clean up SPEC file

OBS-URL: https://build.opensuse.org/request/show/1067327
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=60
This commit is contained in:
Matej Cepl 2023-02-23 08:40:07 +00:00 committed by Git OBS Bridge
parent c1cf337a82
commit 79fbaafcc9
2 changed files with 8 additions and 1 deletions

View File

@ -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>

View File

@ -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