diff options
author | Daniel Veillard <veillard@redhat.com> | 2012-08-01 16:10:36 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2012-08-01 16:10:36 +0800 |
commit | 27df13f483b6c981f2950b77d2a0f5416cd224a0 (patch) | |
tree | 9cf6b72fe7aac965b857a2c250de219e22d2e7f4 /libvirt.spec.in | |
parent | Add missing parallels_utils.h to Makefile.am (diff) | |
download | libvirt-27df13f483b6c981f2950b77d2a0f5416cd224a0.tar.gz libvirt-27df13f483b6c981f2950b77d2a0f5416cd224a0.tar.bz2 libvirt-27df13f483b6c981f2950b77d2a0f5416cd224a0.zip |
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
Diffstat (limited to 'libvirt.spec.in')
-rw-r--r-- | libvirt.spec.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libvirt.spec.in b/libvirt.spec.in index c642f8057..2d86e3cab 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 |