osc copypac from project:Cloud:OpenStack:Rocky package:python-pexpect revision:2, using keep-link, using expand
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pexpect?expand=0&rev=39
This commit is contained in:
@@ -25,6 +25,7 @@ License: ISC
|
||||
Group: Development/Libraries/Python
|
||||
URL: http://pexpect.readthedocs.org/en/latest/
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pexpect/pexpect-%{version}.tar.gz
|
||||
Patch0: fix-test.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module ptyprocess}
|
||||
BuildRequires: %{python_module pytest}
|
||||
@@ -44,6 +45,7 @@ controlling them; and responding to expected patterns in their output.
|
||||
|
||||
%prep
|
||||
%setup -q -n pexpect-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
# Fix wrong-script-interpreter
|
||||
find examples -type f -name "*.py" -exec sed -i "s|#!%{_bindir}/env python||" {} \;
|
||||
|
||||
Reference in New Issue
Block a user