Fix Python build failures on rawhide.

Thx. to Lukas Slebodnik for fixing this issue.
This commit is contained in:
Michal Židek 2019-06-19 10:53:12 +02:00
parent 76a13b3c78
commit e1908a5bc4

View File

@ -539,6 +539,8 @@ autoreconf -ivf
make %{?_smp_mflags} all docs
sed -i -e 's:/usr/bin/python:/usr/bin/python3:' src/tools/sss_obfuscate
%check
export CK_TIMEOUT_MULTIPLIER=10
make %{?_smp_mflags} check VERBOSE=yes
@ -546,8 +548,6 @@ unset CK_TIMEOUT_MULTIPLIER
%install
sed -i -e 's:/usr/bin/python:/usr/bin/python3:' src/tools/sss_obfuscate
make install DESTDIR=$RPM_BUILD_ROOT
if [ ! -f $RPM_BUILD_ROOT/%{_libdir}/%{name}/modules/libwbclient.so.%{libwbc_lib_version} ]