disable qemu test.

If the package is built within kvm the configure test will fail because it starts kvm within kvm

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=11
This commit is contained in:
Olaf Hering 2012-08-16 15:44:26 +00:00 committed by Git OBS Bridge
parent ca59df377c
commit 9f383ac958

View File

@ -216,6 +216,9 @@ virtual machines.
%patch -p1 %patch -p1
%build %build
# disable qemu test.
# If the package is built within kvm the configure test will fail because it starts kvm within kvm
export vmchannel_test=no
# for configure macro below # for configure macro below
CFLAGS="$RPM_OPT_FLAGS -Wno-unused" CFLAGS="$RPM_OPT_FLAGS -Wno-unused"
CXXFLAGS="$RPM_OPT_FLAGS -Wno-unused" CXXFLAGS="$RPM_OPT_FLAGS -Wno-unused"