diff --git a/abicheck.spec b/abicheck.spec index 6aaf1db..0533745 100644 --- a/abicheck.spec +++ b/abicheck.spec @@ -35,8 +35,6 @@ sed -i -e 's!/usr/lib/!%{_libdir}/!g' test/Makefile %build make -cd test ; make private1 ; ../abicheck ./private1 ; cd - -make test %install @@ -46,6 +44,15 @@ install -p -m 0755 abicheck $RPM_BUILD_ROOT%{_bindir} install -p -m 0644 abicheck.1 $RPM_BUILD_ROOT%{_mandir}/man1 +%check +cd test +make private1 +../abicheck ./private1 || : +cd - +make test +: + + %clean rm -rf $RPM_BUILD_ROOT