From d74258268976d21aa56aaaf63831c1598b491a2f14f1e843a81cfb281a953648 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Wed, 8 Oct 2008 10:03:27 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/post-build-checks?expand=0&rev=7 --- post-build-checks-1.0.tar.bz2 | 4 ++-- post-build-checks.changes | 7 +++++++ post-build-checks.spec | 12 +++++++++++- 3 files changed, 20 insertions(+), 3 deletions(-) diff --git a/post-build-checks-1.0.tar.bz2 b/post-build-checks-1.0.tar.bz2 index b949567..a5e25ab 100644 --- a/post-build-checks-1.0.tar.bz2 +++ b/post-build-checks-1.0.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0311426c823b87fd9ddd3c97616dee91fdb73bf920bc6a419a3dd34cf84a13cb -size 33501 +oid sha256:9eeac7ea0e1fe01028ce98e0aaae4ac54f1c297a600059da947f9c871ec8d578 +size 34607 diff --git a/post-build-checks.changes b/post-build-checks.changes index 52db828..b086d43 100644 --- a/post-build-checks.changes +++ b/post-build-checks.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Oct 7 21:40:17 CEST 2008 - meissner@suse.de + +- testsuite for check_gcc_output. marked the currently non + working tests as "BROKEN.C" (not built). +- fixed implicit fortify function check to work with newer gccs. + ------------------------------------------------------------------- Mon Oct 6 17:53:46 CEST 2008 - meissner@suse.de diff --git a/post-build-checks.spec b/post-build-checks.spec index ffc9c4f..8fbd2a3 100644 --- a/post-build-checks.spec +++ b/post-build-checks.spec @@ -24,7 +24,7 @@ Group: Development/Tools/Building AutoReqProv: on Summary: post checks for build after rpms have been created Version: 1.0 -Release: 45 +Release: 46 PreReq: aaa_base permissions sed Source0: %{name}-%{version}.tar.bz2 BuildArch: noarch @@ -56,6 +56,12 @@ install -m 644 checks-data/* $RPM_BUILD_ROOT/usr/lib/build/checks-data install -m 755 helper/* $RPM_BUILD_ROOT/usr/lib/build/helper chmod 755 $RPM_BUILD_ROOT/usr/lib/build/checks-data/check* +%check +for i in tests/xx*.c +do + (echo "Executing(%%build)" ; gcc $RPM_OPT_FLAGS -c $i 2>&1)| checks-data/check_gcc_output 2>&1|grep "^[WE]" +done + %clean rm -rf $RPM_BUILD_ROOT @@ -73,6 +79,10 @@ fi /usr/lib/build %changelog +* Tue Oct 07 2008 meissner@suse.de +- testsuite for check_gcc_output. marked the currently non + working tests as "BROKEN.C" (not built). +- fixed implicit fortify function check to work with newer gccs. * Mon Oct 06 2008 meissner@suse.de - added checks for newer glibcs destination buffer overflow warning.