From 3448b44deddef7c5ed533afb31a433f5bb46207ba3448e42ec897ba934dface3 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Fri, 25 Mar 2011 07:59:41 +0000 Subject: [PATCH 1/4] Updating link to change in openSUSE:Factory/post-build-checks revision 46.0 OBS-URL: https://build.opensuse.org/package/show/Base:System/post-build-checks?expand=0&rev=6138b0806dfba48206a3c01ae62d271c --- 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 c773f7a..4fdf4e7 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: 89 +Release: 90 PreReq: aaa_base permissions sed Url: http://gitorious.org/opensuse/post-build-checks # From 61c845aa01bb9dfe14564aa4cec3f7e87f6aaf292760c469f7e5579680554cc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Schr=C3=B6der?= Date: Wed, 22 Jun 2011 10:06:54 +0000 Subject: [PATCH 2/4] trigger service run OBS-URL: https://build.opensuse.org/package/show/Base:System/post-build-checks?expand=0&rev=40 --- ...ce:format_spec_file:post-build-checks.spec | 114 ++++++++++++++++++ post-build-checks-1.0.tar.bz2 | 4 +- post-build-checks.changes | 6 + 3 files changed, 122 insertions(+), 2 deletions(-) create mode 100644 _service:format_spec_file:post-build-checks.spec diff --git a/_service:format_spec_file:post-build-checks.spec b/_service:format_spec_file:post-build-checks.spec new file mode 100644 index 0000000..144a6a7 --- /dev/null +++ b/_service:format_spec_file:post-build-checks.spec @@ -0,0 +1,114 @@ +# +# spec file for package post-build-checks +# +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + + +Name: post-build-checks +License: GPLv2+ +Group: Development/Tools/Building +AutoReqProv: on +Summary: post checks for build after rpms have been created +Version: 1.0 +Release: 90 +PreReq: aaa_base permissions sed +Url: http://gitorious.org/opensuse/post-build-checks +# +# Note: don't rebuild this manually. Instead submit your patches +# for inclusion in the git repo! +# +# git clone git://gitorious.org/opensuse/post-build-checks.git +# cd post-build-checks +# make package +# +Source0: %{name}-%{version}.tar.bz2 +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build + + +%description +some scripts to check for problems like test-installing the newly +created rpms and checking the logfile for errors. + +This package will also set/change the following sysconfig variables, so +it may not be a good idea to install this to a running system: +/etc/sysconfig/security:PERMISSION_SECURITY="secure" +/etc/sysconfig/clock:TIMEZONE="UTC" + + + +%prep +%setup -q + + +%build +# nothing to do + + +%install +install -d $RPM_BUILD_ROOT/usr/lib/build/checks +install -d $RPM_BUILD_ROOT/usr/lib/build/checks-data +install -d $RPM_BUILD_ROOT/usr/lib/build/helper +install -m 755 checks/* $RPM_BUILD_ROOT/usr/lib/build/checks +install -m 644 checks-data/* $RPM_BUILD_ROOT/usr/lib/build/checks-data +install -m 755 helper/* $RPM_BUILD_ROOT/usr/lib/build/helper +install -m 644 -D suse-buildsystem.sh $RPM_BUILD_ROOT/etc/profile.d/suse-buildsystem.sh +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 + + +%post +# do nothing when not in a build chroot +if ! test -e /.buildenv; then + exit 0 +fi +sed -i -e "s@^PERMISSION_SECURITY=.*@PERMISSION_SECURITY=\"secure\"@" /etc/sysconfig/security +sed -i -e "s@^TIMEZONE=.*@TIMEZONE=\"UTC\"@" /etc/sysconfig/clock +if test -f /bin/uname -a ! -L /bin/uname ; then + mv /bin/uname /bin/uname.bin + ln -s /usr/lib/build/helper/uname.sh /bin/uname +fi + + +%preun +if ! test -e /.buildenv; then + exit 0 +fi +if test "$1" = 0 -a -f /bin/uname.bin ; then + mv /bin/uname.bin /bin/uname +fi + + +%files +%defattr(-, root, root) +%doc COPYING +/usr/lib/build +/etc/profile.d/suse-buildsystem.sh + + + +%changelog diff --git a/post-build-checks-1.0.tar.bz2 b/post-build-checks-1.0.tar.bz2 index b1ba302..0bd8b78 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:8b049545b8bf01c390112a4e0df37404f6b48995878a3cace95aed48a422ffac -size 31217 +oid sha256:51f7c70eff014cf26e777cfd2c50947be7af7fd1cab0041e8518a1f8b3a023ea +size 31130 diff --git a/post-build-checks.changes b/post-build-checks.changes index 50c1873..19a2d50 100644 --- a/post-build-checks.changes +++ b/post-build-checks.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jun 21 08:31:44 CEST 2011 - dmueller@suse.de + +- re-enable fatal checks in 04-check-filelist as the deadline has + passed + ------------------------------------------------------------------- Fri Mar 25 01:29:44 CET 2011 - ro@suse.de From 2a20ae728aed22ca968dc33ee24d74b438565c30a65ac50218dcc1502fec59b5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 22 Jun 2011 20:59:47 +0000 Subject: [PATCH 3/4] - re-enable fatal checks in 04-check-filelist as the deadline has passed OBS-URL: https://build.opensuse.org/package/show/Base:System/post-build-checks?expand=0&rev=41 --- ...ce:format_spec_file:post-build-checks.spec | 114 ------------------ post-build-checks.changes | 5 + 2 files changed, 5 insertions(+), 114 deletions(-) delete mode 100644 _service:format_spec_file:post-build-checks.spec diff --git a/_service:format_spec_file:post-build-checks.spec b/_service:format_spec_file:post-build-checks.spec deleted file mode 100644 index 144a6a7..0000000 --- a/_service:format_spec_file:post-build-checks.spec +++ /dev/null @@ -1,114 +0,0 @@ -# -# spec file for package post-build-checks -# -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via http://bugs.opensuse.org/ -# - -# norootforbuild - - -Name: post-build-checks -License: GPLv2+ -Group: Development/Tools/Building -AutoReqProv: on -Summary: post checks for build after rpms have been created -Version: 1.0 -Release: 90 -PreReq: aaa_base permissions sed -Url: http://gitorious.org/opensuse/post-build-checks -# -# Note: don't rebuild this manually. Instead submit your patches -# for inclusion in the git repo! -# -# git clone git://gitorious.org/opensuse/post-build-checks.git -# cd post-build-checks -# make package -# -Source0: %{name}-%{version}.tar.bz2 -BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build - - -%description -some scripts to check for problems like test-installing the newly -created rpms and checking the logfile for errors. - -This package will also set/change the following sysconfig variables, so -it may not be a good idea to install this to a running system: -/etc/sysconfig/security:PERMISSION_SECURITY="secure" -/etc/sysconfig/clock:TIMEZONE="UTC" - - - -%prep -%setup -q - - -%build -# nothing to do - - -%install -install -d $RPM_BUILD_ROOT/usr/lib/build/checks -install -d $RPM_BUILD_ROOT/usr/lib/build/checks-data -install -d $RPM_BUILD_ROOT/usr/lib/build/helper -install -m 755 checks/* $RPM_BUILD_ROOT/usr/lib/build/checks -install -m 644 checks-data/* $RPM_BUILD_ROOT/usr/lib/build/checks-data -install -m 755 helper/* $RPM_BUILD_ROOT/usr/lib/build/helper -install -m 644 -D suse-buildsystem.sh $RPM_BUILD_ROOT/etc/profile.d/suse-buildsystem.sh -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 - - -%post -# do nothing when not in a build chroot -if ! test -e /.buildenv; then - exit 0 -fi -sed -i -e "s@^PERMISSION_SECURITY=.*@PERMISSION_SECURITY=\"secure\"@" /etc/sysconfig/security -sed -i -e "s@^TIMEZONE=.*@TIMEZONE=\"UTC\"@" /etc/sysconfig/clock -if test -f /bin/uname -a ! -L /bin/uname ; then - mv /bin/uname /bin/uname.bin - ln -s /usr/lib/build/helper/uname.sh /bin/uname -fi - - -%preun -if ! test -e /.buildenv; then - exit 0 -fi -if test "$1" = 0 -a -f /bin/uname.bin ; then - mv /bin/uname.bin /bin/uname -fi - - -%files -%defattr(-, root, root) -%doc COPYING -/usr/lib/build -/etc/profile.d/suse-buildsystem.sh - - - -%changelog diff --git a/post-build-checks.changes b/post-build-checks.changes index 19a2d50..d8bf438 100644 --- a/post-build-checks.changes +++ b/post-build-checks.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 22 22:59:31 CEST 2011 - dmueller@suse.de + +- fix strict-aliasing compiler check with gcc 4.6 + ------------------------------------------------------------------- Tue Jun 21 08:31:44 CEST 2011 - dmueller@suse.de From df703e58cb9c83fa3024c17d8b12ea3eaa0eb2eb462cf318d5138ac12400055f Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 22 Jun 2011 21:37:05 +0000 Subject: [PATCH 4/4] fix strict-aliasing check OBS-URL: https://build.opensuse.org/package/show/Base:System/post-build-checks?expand=0&rev=42 --- post-build-checks-1.0.tar.bz2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/post-build-checks-1.0.tar.bz2 b/post-build-checks-1.0.tar.bz2 index 0bd8b78..b24eb32 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:51f7c70eff014cf26e777cfd2c50947be7af7fd1cab0041e8518a1f8b3a023ea -size 31130 +oid sha256:82c1d8d9b80277374ac2954c16950cf396822da83e05ddfc4b96f2e244f29ada +size 31140