- remove pexpect dependency

Resolves: rhbz#1961551
This commit is contained in:
Oyvind Albrigtsen 2021-05-19 13:08:47 +02:00
parent 2335b44767
commit eadca95a73

View File

@ -205,14 +205,12 @@ BuildRequires: python-suds openwsman-python
sed -i.orig 's|FENCE_ZVM=1|FENCE_ZVM=0|' configure.ac sed -i.orig 's|FENCE_ZVM=1|FENCE_ZVM=0|' configure.ac
%build %build
%ifarch x86_64
# support libs # support libs
for x in %{_sourcedir}/requirements-*.txt; do for x in %{_sourcedir}/requirements-*.txt; do
%{__python3} -m pip install --target support/$(echo $x | sed -E "s/.*requirements-(.*).txt/\1/") --no-index --find-links %{_sourcedir} -r $x %{__python3} -m pip install --target support/$(echo $x | sed -E "s/.*requirements-(.*).txt/\1/") --no-index --find-links %{_sourcedir} -r $x
done done
sed -i -e "/^import awscli.clidriver/isys.path.insert(0, '/usr/lib/%{name}/support/aws')" support/aws/bin/aws sed -i -e "/^import awscli.clidriver/isys.path.insert(0, '/usr/lib/%{name}/support/aws')" support/aws/bin/aws
%endif
if [ -z "$PYTHON " ]; then if [ -z "$PYTHON " ]; then
PYTHON="%{__python3}" PYTHON="%{__python3}"