1
0

Accepting request 509684 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/509684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pexpect?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2017-07-30 09:20:22 +00:00 committed by Git OBS Bridge
commit dd531d49ee
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 10 18:42:12 UTC 2017 - toddrme2178@gmail.com
- Fix wrong-script-interpreter rpmlint error.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 19 17:57:01 UTC 2017 - toddrme2178@gmail.com Wed Apr 19 17:57:01 UTC 2017 - toddrme2178@gmail.com

View File

@ -46,6 +46,10 @@ controlling them; and responding to expected patterns in their output.
%prep %prep
%setup -n pexpect-%{version} %setup -n pexpect-%{version}
# Fix wrong-script-interpreter
find examples -type f -name "*.py" -exec sed -i "s|#!/usr/bin/env python||" {} \;
find examples -type f -name "*.cgi" -exec sed -i "s|##!/usr/bin/env python|##!/usr/bin/python|" {} \;
%build %build
%python_build %python_build