Accepting request 33248 from Base:System
Copy from Base:System/post-build-checks based on submit request 33248 from user oertel OBS-URL: https://build.opensuse.org/request/show/33248 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/post-build-checks?expand=0&rev=29
This commit is contained in:
commit
ef2d8b6f49
10
post-build-checks-nonvoid_new.patch
Normal file
10
post-build-checks-nonvoid_new.patch
Normal file
@ -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",
|
19
post-build-checks-parrot.patch
Normal file
19
post-build-checks-parrot.patch
Normal file
@ -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/*|\
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
- allow /usr/src/parrot in parrot-devel
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Feb 6 17:31:27 CET 2010 - detlef@links2linux.de
|
Sat Feb 6 17:31:27 CET 2010 - detlef@links2linux.de
|
||||||
|
|
||||||
|
@ -24,11 +24,13 @@ Group: Development/Tools/Building
|
|||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Summary: post checks for build after rpms have been created
|
Summary: post checks for build after rpms have been created
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Release: 69
|
Release: 70
|
||||||
PreReq: aaa_base permissions sed
|
PreReq: aaa_base permissions sed
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Source1: suse-buildsystem.sh
|
Source1: suse-buildsystem.sh
|
||||||
Patch0: %{name}-umount.patch
|
Patch0: %{name}-umount.patch
|
||||||
|
Patch1: %{name}-parrot.patch
|
||||||
|
Patch2: post-build-checks-nonvoid_new.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -46,6 +48,8 @@ it may not be a good idea to install this to a running system:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1
|
||||||
|
%patch2
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# nothing to do
|
# nothing to do
|
||||||
|
Loading…
Reference in New Issue
Block a user