The 'make check' was rebuilding the binaries just overrided,
so for more safety also override the C program
Also daemon-conf isn't built anymore so remove it from the list
Pushed under the build breaker rule
Daniel
diff --git a/libvirt.spec.in b/libvirt.spec.in
index c642f80..2d86e3c 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1323,11 +1323,13 @@ rm -fr %{buildroot}
%check
cd tests
-# These 3 tests don't current work in a mock build root
-for i in nodeinfotest daemon-conf seclabeltest
+make
+# These tests don't current work in a mock build root
+for i in nodeinfotest seclabeltest
do
rm -f $i
- printf "#!/bin/sh\nexit 0\n" > $i
+ printf 'int main(void) { return(0); }' > $i.c
+ printf '#!/bin/sh\nexit 0\n' > $i
chmod +x $i
done
make check
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
[email protected] | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list