From 226abf1b688071651ccb35df81a5891014a6b1c341fd22f056d92d76980f40f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Schr=C3=B6der?= Date: Fri, 19 Feb 2010 11:23:38 +0000 Subject: [PATCH 1/3] - allow /usr/src/parrot in parrot-devel OBS-URL: https://build.opensuse.org/package/show/Base:System/post-build-checks?expand=0&rev=17 --- post-build-checks-parrot.patch | 19 +++++++++++++++++++ post-build-checks.changes | 5 +++++ post-build-checks.spec | 2 ++ 3 files changed, 26 insertions(+) create mode 100644 post-build-checks-parrot.patch diff --git a/post-build-checks-parrot.patch b/post-build-checks-parrot.patch new file mode 100644 index 0000000..d6c7f8f --- /dev/null +++ b/post-build-checks-parrot.patch @@ -0,0 +1,19 @@ +--- ./checks/04-check-filelist.orig 2009-08-10 00:17:17.000000000 +0000 ++++ ./checks/04-check-filelist 2010-02-19 10:59:17.000000000 +0000 +@@ -125,6 +125,16 @@ if [ ! -z "$ALL_RPMS" ] ; then + ;; + esac + ;; ++ /usr/src/parrot*) ++ case $RPM_NAME in ++ parrot-devel) ++ ;; ++ *) ++ echo "$RPM_NAME: \"$LINE\" may only be packaged in the parrot-devel package" ++ UNVALID_FILE_FOUND=true ++ ;; ++ esac ++ ;; + # exceptions for CVS/RCS/liveeval + /usr/share/doc/howto/en/txt/RCS|\ + /usr/share/YaST2/data/devtools/*|\ diff --git a/post-build-checks.changes b/post-build-checks.changes index 0085739..eb00496 100644 --- a/post-build-checks.changes +++ b/post-build-checks.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 19 12:00:32 CET 2010 - mls@suse.de + +- allow /usr/src/parrot in parrot-devel + ------------------------------------------------------------------- Sat Feb 6 17:31:27 CET 2010 - detlef@links2linux.de diff --git a/post-build-checks.spec b/post-build-checks.spec index 5047a18..b4bc1e7 100644 --- a/post-build-checks.spec +++ b/post-build-checks.spec @@ -29,6 +29,7 @@ PreReq: aaa_base permissions sed Source0: %{name}-%{version}.tar.bz2 Source1: suse-buildsystem.sh Patch0: %{name}-umount.patch +Patch1: %{name}-parrot.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -46,6 +47,7 @@ it may not be a good idea to install this to a running system: %prep %setup -q %patch0 -p1 +%patch1 %build # nothing to do From b71c6c3740f656409e11e2ae433dd41ed1c7f5d4ec04594f8283ab2f37a3969c Mon Sep 17 00:00:00 2001 From: Ruediger Oertel Date: Tue, 23 Feb 2010 11:22:23 +0000 Subject: [PATCH 2/3] - check gcc warnings: wording for non-void return has changed OBS-URL: https://build.opensuse.org/package/show/Base:System/post-build-checks?expand=0&rev=18 --- post-build-checks-nonvoid_new.patch | 10 ++++++++++ post-build-checks.changes | 5 +++++ post-build-checks.spec | 2 ++ 3 files changed, 17 insertions(+) create mode 100644 post-build-checks-nonvoid_new.patch diff --git a/post-build-checks-nonvoid_new.patch b/post-build-checks-nonvoid_new.patch new file mode 100644 index 0000000..3c7e376 --- /dev/null +++ b/post-build-checks-nonvoid_new.patch @@ -0,0 +1,10 @@ +--- checks-data/check_gcc_output ++++ checks-data/check_gcc_output +@@ -22,6 +22,7 @@ + 'warning:.*ignoring return value of (?:.*alloc.*|set.*uid), declared with' => "unchecked-return-value", + 'warning:.*type-punned.*strict-aliasing' => "strict-aliasing-punning", + 'warning:.*control reaches end of non-void function' => "no-return-in-nonvoid-function", ++ 'warning:.*no return statement in function returning non-void' => "no-return-in-nonvoid-function", + 'warning:.*format not a string literal and no format arguments' => "format-security", + 'warning:.*missing sentinel in function call' => "missing-sentinel", + 'warning:.*call to .* will always overflow destination buffer' => "bufferoverflow", diff --git a/post-build-checks.changes b/post-build-checks.changes index eb00496..05a8241 100644 --- a/post-build-checks.changes +++ b/post-build-checks.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 23 12:21:52 CET 2010 - ro@suse.de + +- check gcc warnings: wording for non-void return has changed + ------------------------------------------------------------------- Fri Feb 19 12:00:32 CET 2010 - mls@suse.de diff --git a/post-build-checks.spec b/post-build-checks.spec index b4bc1e7..5118c5c 100644 --- a/post-build-checks.spec +++ b/post-build-checks.spec @@ -30,6 +30,7 @@ Source0: %{name}-%{version}.tar.bz2 Source1: suse-buildsystem.sh Patch0: %{name}-umount.patch Patch1: %{name}-parrot.patch +Patch2: post-build-checks-nonvoid_new.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -48,6 +49,7 @@ it may not be a good idea to install this to a running system: %setup -q %patch0 -p1 %patch1 +%patch2 %build # nothing to do From 37cbf3548b302788d0daf32cc8bd97f5f56d24bcb897175bf576012c4e5619d8 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Wed, 24 Feb 2010 01:24:57 +0000 Subject: [PATCH 3/3] Updating link to change in openSUSE:Factory/post-build-checks revision 29.0 OBS-URL: https://build.opensuse.org/package/show/Base:System/post-build-checks?expand=0&rev=39a2d92f9229c2254d48168962649247 --- post-build-checks.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/post-build-checks.spec b/post-build-checks.spec index 5118c5c..7fde763 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: 69 +Release: 70 PreReq: aaa_base permissions sed Source0: %{name}-%{version}.tar.bz2 Source1: suse-buildsystem.sh