mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
Fix rpm build failures
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
This commit is contained in:
parent
04cd70bfd3
commit
27df13f483
@ -1323,11 +1323,13 @@ rm -fr %{buildroot}
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
cd tests
|
cd tests
|
||||||
# These 3 tests don't current work in a mock build root
|
make
|
||||||
for i in nodeinfotest daemon-conf seclabeltest
|
# These tests don't current work in a mock build root
|
||||||
|
for i in nodeinfotest seclabeltest
|
||||||
do
|
do
|
||||||
rm -f $i
|
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
|
chmod +x $i
|
||||||
done
|
done
|
||||||
make check
|
make check
|
||||||
|
Loading…
x
Reference in New Issue
Block a user