diff --git a/abicheck-1.2-tests.patch b/abicheck-1.2-tests.patch index 8765b79..ba942f0 100644 --- a/abicheck-1.2-tests.patch +++ b/abicheck-1.2-tests.patch @@ -44,3 +44,15 @@ diff -Nur abicheck-1.2-orig/test/run_tests abicheck-1.2/test/run_tests pass else fail +diff -Nur abicheck-1.2-orig/test/run_tests abicheck-1.2/test/run_tests +--- abicheck-1.2-orig/test/run_tests 2002-02-07 15:40:20.000000000 +0100 ++++ abicheck-1.2/test/run_tests 2007-05-24 12:33:02.000000000 +0200 +@@ -39,7 +39,7 @@ + # private1: + + name="private1: calls private sym in libc" +-if abicheck ./private1 2>/dev/null | egrep 'PRIVATE:.*libc.*(__open|__nanosleep)' > /dev/null; then ++if abicheck ./private1 2>/dev/null | grep 'PRIVATE:.*libc.*\(__open\|__nanosleep\)' > /dev/null; then + pass + else + fail diff --git a/abicheck.spec b/abicheck.spec index 34e0ab2..fbf7c1a 100644 --- a/abicheck.spec +++ b/abicheck.spec @@ -3,7 +3,7 @@ Summary: ABI checking tool Name: abicheck Version: 1.2 -Release: 12.3 +Release: 12.4 License: LGPL Group: Applications/File URL: http://abicheck.sourceforge.net/ @@ -47,12 +47,7 @@ install -p -m 0644 abicheck.1 $RPM_BUILD_ROOT%{_mandir}/man1 %check -#make test -cd test -make private1 -#../abicheck ./private1 | egrep 'PRIVATE:.*libc.*(__open|__nanosleep)' -../abicheck ./private1 || true -../abicheck ./private1 | grep 'PRIVATE:.*libc.*\(__open\|__nanosleep\)' +make test %clean