提交 27df13f4 编写于 作者: D Daniel Veillard

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
上级 04cd70bf
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册