Don't enable libguestfs tests if we don't have libguestfs
This commit is contained in:
parent
eb4065d4ee
commit
c5fbd4d470
@ -731,7 +731,7 @@ export PYTHON=%{__python3}
|
|||||||
%else
|
%else
|
||||||
--without-libguestfs \
|
--without-libguestfs \
|
||||||
%endif
|
%endif
|
||||||
%ifarch %{complete_test_arches}
|
%ifarch !0%{?rhel} && 0%{?have_libguestfs} && %{complete_test_arches}
|
||||||
--enable-libguestfs-tests \
|
--enable-libguestfs-tests \
|
||||||
%else
|
%else
|
||||||
--disable-libguestfs-tests \
|
--disable-libguestfs-tests \
|
||||||
|
Loading…
Reference in New Issue
Block a user