forked from pool/python-pexpect
Accepting request 509285 from home:TheBlackCat:branches:devel:languages:python
Fix wrong-script-interpreter rpmlint error. OBS-URL: https://build.opensuse.org/request/show/509285 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=25
This commit is contained in:
parent
eb770e4898
commit
f0f2db7aa2
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user