commit post-build-checks for openSUSE:Factory

2020-09-23 Thread root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2020-09-23 18:39:08

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new.4249 (New)


Package is "post-build-checks"

Wed Sep 23 18:39:08 2020 rev:100 rq:834886 version:84.87+git20200916.d341ab0

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2020-09-04 10:53:42.718449778 +0200
+++ 
/work/SRC/openSUSE:Factory/.post-build-checks.new.4249/post-build-checks.changes
2020-09-23 18:39:39.049279892 +0200
@@ -1,0 +2,16 @@
+Wed Sep 16 10:12:53 UTC 2020 - r...@suse.de
+
+- Update to version 84.87+git20200916.d341ab0:
+  * add finalize-system hacks
+  * 01-add_abuild_user_to_trusted_group
+  *   also create abuild user if needed
+  * 02-set_timezone_to_utc
+  * 11-hack_uname_version_to_kernel_version
+  * 98-revert-uname-hack
+  *   add cleanup as check script
+- drop all pre/post scripts this is now all done by hooks
+  inside the buildsystem, the package install scripts will
+  not do any harm now and we do not depend on the install
+  sequence any more (revisited boo#1159963)
+
+---

Old:

  post-build-checks-84.87+git20200819.5847424.tar.xz

New:

  post-build-checks-84.87+git20200916.d341ab0.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.rAVWYG/_old  2020-09-23 18:39:40.549281272 +0200
+++ /var/tmp/diff_new_pack.rAVWYG/_new  2020-09-23 18:39:40.553281276 +0200
@@ -16,13 +16,13 @@
 #
 
 
-%define version_unconverted 84.87+git20200819.5847424
+%define version_unconverted 84.87+git20200916.d341ab0
 
 Name:   post-build-checks
 Summary:post checks for build after rpms have been created
 License:GPL-2.0-or-later
 Group:  Development/Tools/Building
-Version:84.87+git20200819.5847424
+Version:84.87+git20200916.d341ab0
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck
@@ -61,49 +61,15 @@
 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 -d $RPM_BUILD_ROOT/usr/lib/build/finalize-system
 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 755 finalize-system/* $RPM_BUILD_ROOT/usr/lib/build/finalize-system
 install -m 644 -D suse-buildsystem.sh  
$RPM_BUILD_ROOT/etc/profile.d/suse-buildsystem.sh
 install -m 644 -D suse-ignored-rpaths.conf 
$RPM_BUILD_ROOT/etc/suse-ignored-rpaths.conf
 chmod 755 $RPM_BUILD_ROOT/usr/lib/build/checks-data/check*
 
-%post
-# do nothing when not in a build chroot
-if ! test -e /.buildenv; then
-exit 0
-fi
-# change the PERMISSION set to "secure"
-sed -i -e "s@^PERMISSION_SECURITY=.*@PERMISSION_SECURITY=\"secure\"@" 
/etc/sysconfig/security
-# add the abuild user to the trusted group so that fusermount works
-usermod -G trusted -a abuild || true
-# set the timezone to UTC
-if [ -f /etc/sysconfig/clock ] ; then
-sed -i -e "s@^TIMEZONE=.*@TIMEZONE=\"UTC\"@" /etc/sysconfig/clock
-fi
-# and add the ugly workaround to override the output of uname -v
-# to match the installed kernel sources
-UNAME=/bin/uname
-if test -f /usr/bin/uname ; then
-UNAME=/usr/bin/uname
-fi
-if test -f $UNAME -a ! -L $UNAME ; then
-mv $UNAME $UNAME.bin
-ln -s /usr/lib/build/helper/uname.sh $UNAME
-fi
-
-%preun
-if ! test -e /.buildenv; then
-exit 0
-fi
-UNAME=/bin/uname
-if test -f /usr/bin/uname.bin ; then
-UNAME=/usr/bin/uname
-fi
-if test "$1" = 0 -a -f $UNAME.bin ; then
-mv $UNAME.bin $UNAME
-fi
-
 %files
 %defattr(-, root, root)
 %license COPYING

++ _servicedata ++
--- /var/tmp/diff_new_pack.rAVWYG/_old  2020-09-23 18:39:40.605281323 +0200
+++ /var/tmp/diff_new_pack.rAVWYG/_new  2020-09-23 18:39:40.605281323 +0200
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  584742418b33de1237c278f8ba746f25b419d9cd
+  d341ab0ee0ea0b174a510858674162129ddd30f0
 
\ No newline at end of file

++ post-build-checks-84.87+git20200819.5847424.tar.xz -> 
post-build-checks-84.87+git20200916.d341ab0.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-84.87+git20200819.5847424/checks/98-revert-uname-hack 
new/post-build-checks-84.87+git20200916.d341ab0/checks/98-revert-uname-hack
--- old/post-build-checks-84.87+git20200819.5847424/checks/98-revert-uname-hack 
1970-

commit post-build-checks for openSUSE:Factory

2020-09-04 Thread root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2020-09-04 10:53:37

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new.3399 (New)


Package is "post-build-checks"

Fri Sep  4 10:53:37 2020 rev:99 rq:830984 version:84.87+git20200819.5847424

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2020-03-31 17:31:31.252235032 +0200
+++ 
/work/SRC/openSUSE:Factory/.post-build-checks.new.3399/post-build-checks.changes
2020-09-04 10:53:42.718449778 +0200
@@ -1,0 +2,19 @@
+Mon Aug 24 16:17:32 CEST 2020 - r...@suse.de
+
+- add the abuild user to the trusted group so that
+  fusermount works (boo#1159963) 
+
+---
+Wed Aug 19 08:42:27 UTC 2020 - r...@suse.de
+
+- Update to version 84.87+git20200819.5847424:
+  * Revert "50-check-permissions use --level option of chkstat"
+
+---
+Tue Aug 18 12:15:36 UTC 2020 - r...@suse.de
+
+- Update to version 84.87+git20200818.e4ffaa8:
+  * 50-check-permissions use --level option of chkstat
+(boo#1159963)
+
+---

Old:

  post-build-checks-84.87+git20200323.45c6eba.tar.xz

New:

  post-build-checks-84.87+git20200819.5847424.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.IQrajX/_old  2020-09-04 10:53:43.322450101 +0200
+++ /var/tmp/diff_new_pack.IQrajX/_new  2020-09-04 10:53:43.326450103 +0200
@@ -16,13 +16,13 @@
 #
 
 
-%define version_unconverted 84.87+git20200323.45c6eba
+%define version_unconverted 84.87+git20200819.5847424
 
 Name:   post-build-checks
 Summary:post checks for build after rpms have been created
 License:GPL-2.0-or-later
 Group:  Development/Tools/Building
-Version:84.87+git20200323.45c6eba
+Version:84.87+git20200819.5847424
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck
@@ -73,10 +73,16 @@
 if ! test -e /.buildenv; then
 exit 0
 fi
+# change the PERMISSION set to "secure"
 sed -i -e "s@^PERMISSION_SECURITY=.*@PERMISSION_SECURITY=\"secure\"@" 
/etc/sysconfig/security
+# add the abuild user to the trusted group so that fusermount works
+usermod -G trusted -a abuild || true
+# set the timezone to UTC
 if [ -f /etc/sysconfig/clock ] ; then
 sed -i -e "s@^TIMEZONE=.*@TIMEZONE=\"UTC\"@" /etc/sysconfig/clock
 fi
+# and add the ugly workaround to override the output of uname -v
+# to match the installed kernel sources
 UNAME=/bin/uname
 if test -f /usr/bin/uname ; then
 UNAME=/usr/bin/uname

++ _servicedata ++
--- /var/tmp/diff_new_pack.IQrajX/_old  2020-09-04 10:53:43.362450122 +0200
+++ /var/tmp/diff_new_pack.IQrajX/_new  2020-09-04 10:53:43.366450125 +0200
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  cc927e6a40f1bb818af40f82cab534d97d2f1138
+  584742418b33de1237c278f8ba746f25b419d9cd
 
\ No newline at end of file

++ post-build-checks-84.87+git20200323.45c6eba.tar.xz -> 
post-build-checks-84.87+git20200819.5847424.tar.xz ++




commit post-build-checks for openSUSE:Factory

2020-03-31 Thread root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2020-03-31 17:31:30

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new.3160 (New)


Package is "post-build-checks"

Tue Mar 31 17:31:30 2020 rev:98 rq:788583 version:84.87+git20200323.45c6eba

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2020-03-25 23:42:13.319972515 +0100
+++ 
/work/SRC/openSUSE:Factory/.post-build-checks.new.3160/post-build-checks.changes
2020-03-31 17:31:31.252235032 +0200
@@ -1,0 +2,6 @@
+Mon Mar 23 11:08:48 UTC 2020 - ku...@suse.com
+
+- Update to version 84.87+git20200323.45c6eba:
+  * Don't remove find, gzip and cpio
+
+---

Old:

  post-build-checks-84.87+git20200319.57fe0e2.tar.xz

New:

  post-build-checks-84.87+git20200323.45c6eba.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.D7FJ1x/_old  2020-03-31 17:31:31.980235459 +0200
+++ /var/tmp/diff_new_pack.D7FJ1x/_new  2020-03-31 17:31:31.984235461 +0200
@@ -16,13 +16,13 @@
 #
 
 
-%define version_unconverted 84.87+git20200319.57fe0e2
+%define version_unconverted 84.87+git20200323.45c6eba
 
 Name:   post-build-checks
 Summary:post checks for build after rpms have been created
 License:GPL-2.0-or-later
 Group:  Development/Tools/Building
-Version:84.87+git20200319.57fe0e2
+Version:84.87+git20200323.45c6eba
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck

++ _servicedata ++
--- /var/tmp/diff_new_pack.D7FJ1x/_old  2020-03-31 17:31:32.020235482 +0200
+++ /var/tmp/diff_new_pack.D7FJ1x/_new  2020-03-31 17:31:32.020235482 +0200
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  8071190bb97aa9a3ed8f544d69acc7f8e33ebf0d
+  cc927e6a40f1bb818af40f82cab534d97d2f1138
 
\ No newline at end of file

++ post-build-checks-84.87+git20200319.57fe0e2.tar.xz -> 
post-build-checks-84.87+git20200323.45c6eba.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-84.87+git20200319.57fe0e2/checks/99-check-remove-rpms 
new/post-build-checks-84.87+git20200323.45c6eba/checks/99-check-remove-rpms
--- old/post-build-checks-84.87+git20200319.57fe0e2/checks/99-check-remove-rpms 
2020-03-19 10:12:28.0 +0100
+++ new/post-build-checks-84.87+git20200323.45c6eba/checks/99-check-remove-rpms 
2020-03-23 11:48:35.0 +0100
@@ -48,6 +48,9 @@
 
 coreutils=`chroot $BUILD_ROOT rpm --qf '%{NAME}\n' -qf 
/usr/bin/{date,cat,rm,chown}|sort -u`
 utillinux=`chroot $BUILD_ROOT rpm --qf '%{NAME}\n' -qf /usr/bin/su|sort -u`
+findutils=`chroot $BUILD_ROOT rpm --qf '%{NAME}\n' -qf /usr/bin/find|sort -u`
+gzip=`chroot $BUILD_ROOT rpm --qf '%{NAME}\n' -qf /usr/bin/gzip|sort -u`
+cpio=`chroot $BUILD_ROOT rpm --qf '%{NAME}\n' -qf /usr/bin/cpio|sort -u`
 shell=`chroot $BUILD_ROOT rpm --qf '%{NAME}\n' -qf /usr/bin/sh|sort -u`
 
 for RPM in `reorder "${RPM_FILE_LIST[@]}"`; do
@@ -73,7 +76,7 @@
 case ${PKG} in
 libgcc*|libgomp*|libstdc++*)
;;
-$coreutils|$utillinux|$shell)
+$coreutils|$utillinux|$shell|$findutils|$gzip|$cpio)
;;
 rpm|rpm-build|rpm-ndb)
;;




commit post-build-checks for openSUSE:Factory

2020-03-25 Thread root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2020-03-25 23:42:06

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new.3160 (New)


Package is "post-build-checks"

Wed Mar 25 23:42:06 2020 rev:97 rq:786384 version:84.87+git20200319.57fe0e2

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2020-03-18 12:30:15.524380401 +0100
+++ 
/work/SRC/openSUSE:Factory/.post-build-checks.new.3160/post-build-checks.changes
2020-03-25 23:42:13.319972515 +0100
@@ -1,0 +2,6 @@
+Thu Mar 19 09:56:56 UTC 2020 - lnus...@suse.de
+
+- Update to version 84.87+git20200319.57fe0e2:
+  * Don't de-install the packages containing su and sh
+
+---

Old:

  post-build-checks-84.87+git20200305.61b5cdf.tar.xz

New:

  post-build-checks-84.87+git20200319.57fe0e2.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.2aGTsC/_old  2020-03-25 23:42:13.879972699 +0100
+++ /var/tmp/diff_new_pack.2aGTsC/_new  2020-03-25 23:42:13.883972700 +0100
@@ -16,13 +16,13 @@
 #
 
 
-%define version_unconverted 84.87+git20200305.61b5cdf
+%define version_unconverted 84.87+git20200319.57fe0e2
 
 Name:   post-build-checks
 Summary:post checks for build after rpms have been created
 License:GPL-2.0-or-later
 Group:  Development/Tools/Building
-Version:84.87+git20200305.61b5cdf
+Version:84.87+git20200319.57fe0e2
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck

++ _servicedata ++
--- /var/tmp/diff_new_pack.2aGTsC/_old  2020-03-25 23:42:13.931972715 +0100
+++ /var/tmp/diff_new_pack.2aGTsC/_new  2020-03-25 23:42:13.935972717 +0100
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  b14fe84733d2365bf456b34a61bd0535121ac51d
+  8071190bb97aa9a3ed8f544d69acc7f8e33ebf0d
 
\ No newline at end of file

++ post-build-checks-84.87+git20200305.61b5cdf.tar.xz -> 
post-build-checks-84.87+git20200319.57fe0e2.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-84.87+git20200305.61b5cdf/checks/99-check-remove-rpms 
new/post-build-checks-84.87+git20200319.57fe0e2/checks/99-check-remove-rpms
--- old/post-build-checks-84.87+git20200305.61b5cdf/checks/99-check-remove-rpms 
2020-03-05 10:56:39.0 +0100
+++ new/post-build-checks-84.87+git20200319.57fe0e2/checks/99-check-remove-rpms 
2020-03-19 10:12:28.0 +0100
@@ -47,6 +47,8 @@
 RPM_FILE_LIST=(`find $BUILD_ROOT$TOPDIR/RPMS -type f -name "*.rpm"`)
 
 coreutils=`chroot $BUILD_ROOT rpm --qf '%{NAME}\n' -qf 
/usr/bin/{date,cat,rm,chown}|sort -u`
+utillinux=`chroot $BUILD_ROOT rpm --qf '%{NAME}\n' -qf /usr/bin/su|sort -u`
+shell=`chroot $BUILD_ROOT rpm --qf '%{NAME}\n' -qf /usr/bin/sh|sort -u`
 
 for RPM in `reorder "${RPM_FILE_LIST[@]}"`; do
 PKG=${RPM##*/}
@@ -71,7 +73,7 @@
 case ${PKG} in
 libgcc*|libgomp*|libstdc++*)
;;
-$coreutils)
+$coreutils|$utillinux|$shell)
;;
 rpm|rpm-build|rpm-ndb)
;;




commit post-build-checks for openSUSE:Factory

2020-03-18 Thread root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2020-03-18 12:24:32

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new.3160 (New)


Package is "post-build-checks"

Wed Mar 18 12:24:32 2020 rev:96 rq:781792 version:84.87+git20200305.61b5cdf

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2020-01-10 17:47:41.242154855 +0100
+++ 
/work/SRC/openSUSE:Factory/.post-build-checks.new.3160/post-build-checks.changes
2020-03-18 12:30:15.524380401 +0100
@@ -1,0 +2,6 @@
+Thu Mar 05 09:57:18 UTC 2020 - lnus...@suse.de
+
+- Update to version 84.87+git20200305.61b5cdf:
+  * Fix ghost logic
+
+---

Old:

  post-build-checks-84.87+git20200110.2d02f07.tar.xz

New:

  post-build-checks-84.87+git20200305.61b5cdf.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.fnPSA2/_old  2020-03-18 12:30:16.820381214 +0100
+++ /var/tmp/diff_new_pack.fnPSA2/_new  2020-03-18 12:30:16.820381214 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package post-build-checks
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,13 +16,13 @@
 #
 
 
-%define version_unconverted 84.87+git20200110.2d02f07
+%define version_unconverted 84.87+git20200305.61b5cdf
 
 Name:   post-build-checks
 Summary:post checks for build after rpms have been created
 License:GPL-2.0-or-later
 Group:  Development/Tools/Building
-Version:84.87+git20200110.2d02f07
+Version:84.87+git20200305.61b5cdf
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck

++ _servicedata ++
--- /var/tmp/diff_new_pack.fnPSA2/_old  2020-03-18 12:30:16.868381244 +0100
+++ /var/tmp/diff_new_pack.fnPSA2/_new  2020-03-18 12:30:16.868381244 +0100
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  f347f2e1ffb7a22e1959d7435439dda2525f5176
+  b14fe84733d2365bf456b34a61bd0535121ac51d
 
\ No newline at end of file

++ post-build-checks-84.87+git20200110.2d02f07.tar.xz -> 
post-build-checks-84.87+git20200305.61b5cdf.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-84.87+git20200110.2d02f07/checks-data/findfileconflicts 
new/post-build-checks-84.87+git20200305.61b5cdf/checks-data/findfileconflicts
--- 
old/post-build-checks-84.87+git20200110.2d02f07/checks-data/findfileconflicts   
2020-01-10 12:43:37.0 +0100
+++ 
new/post-build-checks-84.87+git20200305.61b5cdf/checks-data/findfileconflicts   
2020-03-05 10:56:39.0 +0100
@@ -217,7 +217,7 @@
  $modes_ghost[$m] = $ff & 0100;
}
my $f = "$n/$bn";
-   if (($ff & 0100) != 0) {
+   if (($ff & 0100) == 0) {
  if (exists $files{$f}) {
$filesc{$f} ||= [ $files{$f} ];
push @{$filesc{$f}}, "$pkg/$m";




commit post-build-checks for openSUSE:Factory

2020-01-10 Thread root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2020-01-10 17:47:24

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new.6675 (New)


Package is "post-build-checks"

Fri Jan 10 17:47:24 2020 rev:95 rq:762807 version:84.87+git20200110.2d02f07

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2019-07-29 17:24:24.890346111 +0200
+++ 
/work/SRC/openSUSE:Factory/.post-build-checks.new.6675/post-build-checks.changes
2020-01-10 17:47:41.242154855 +0100
@@ -1,0 +2,14 @@
+Fri Jan 10 11:45:01 UTC 2020 - lnus...@suse.de
+
+- Update to version 84.87+git20200110.2d02f07:
+  * Tweaks to make rpm-ndb build
+  * Detect name of coreutils package and don't remove it
+- restore correct version
+
+---
+Tue Jan 07 10:27:55 UTC 2020 - r...@suse.com
+
+- Update to version 84.88+git20200107.dc3b3a3:
+  * 99-check-remove-rpms: preserve libgomp variants
+
+---

Old:

  post-build-checks-84.88+git20190716.5a0e034.tar.xz

New:

  post-build-checks-84.87+git20200110.2d02f07.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.FAm7il/_old  2020-01-10 17:47:41.726154768 +0100
+++ /var/tmp/diff_new_pack.FAm7il/_new  2020-01-10 17:47:41.726154768 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package post-build-checks
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,18 +16,18 @@
 #
 
 
-%define version_unconverted 84.88+git20190716.5a0e034
+%define version_unconverted 84.87+git20200110.2d02f07
 
 Name:   post-build-checks
 Summary:post checks for build after rpms have been created
 License:GPL-2.0-or-later
 Group:  Development/Tools/Building
-Version:84.88+git20190716.5a0e034
+Version:84.87+git20200110.2d02f07
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck
 Requires:   gawk
-Url:https://github.com/openSUSE/post-build-checks
+URL:https://github.com/openSUSE/post-build-checks
 #
 # Note: don't rebuild this manually. Instead submit your patches
 # for inclusion in the git repo!

++ _service ++
--- /var/tmp/diff_new_pack.FAm7il/_old  2020-01-10 17:47:41.746154764 +0100
+++ /var/tmp/diff_new_pack.FAm7il/_new  2020-01-10 17:47:41.750154764 +0100
@@ -1,7 +1,7 @@
 
   
-84.88
-84.88+git%cd.%h
+84.87
+84.87+git%cd.%h
 git://github.com/openSUSE/post-build-checks.git
 git
 .git

++ _servicedata ++
--- /var/tmp/diff_new_pack.FAm7il/_old  2020-01-10 17:47:41.762154761 +0100
+++ /var/tmp/diff_new_pack.FAm7il/_new  2020-01-10 17:47:41.762154761 +0100
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  78a6c62fee7bcbac6433f62dba77c48819e162f1
+  f347f2e1ffb7a22e1959d7435439dda2525f5176
 
\ No newline at end of file

++ post-build-checks-84.88+git20190716.5a0e034.tar.xz -> 
post-build-checks-84.87+git20200110.2d02f07.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-84.88+git20190716.5a0e034/checks/00-check-install-rpms 
new/post-build-checks-84.87+git20200110.2d02f07/checks/00-check-install-rpms
--- 
old/post-build-checks-84.88+git20190716.5a0e034/checks/00-check-install-rpms
2019-07-16 13:32:10.0 +0200
+++ 
new/post-build-checks-84.87+git20200110.2d02f07/checks/00-check-install-rpms
2020-01-10 12:43:37.0 +0100
@@ -5,6 +5,15 @@
 test -d $BUILD_ROOT/.build.packages && TOPDIR=/.build.packages
 export YAST_IS_RUNNING="instsys"
 RPM_FILE_LIST=(`find $BUILD_ROOT$TOPDIR/RPMS -type f -name "*.rpm"`)
+for rpm in $RPM_FILE_LIST ; do
+  case ${rpm##*/} in
+rpm-ndb-*) 
+  echo "converting rpm database to ndb"
+  chroot $BUILD_ROOT rpmdb --define '_db_backend ndb' --rebuilddb
+  ;;
+  esac
+done
+
 ADDITIONAL_PARAMS=
 test "$ABUILD_INIT_WITH_IGNORE_ARCH" = true && 
ADDITIONAL_PARAMS="$ADDITIONAL_PARAMS --ignorearch"
 chroot $BUILD_ROOT rpm $ADDITIONAL_PARAMS --force --nodeps -Uv 
${RPM_FILE_LIST[*]#$BUILD_ROOT} || {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-84.88+git20190716.5a0e034/checks/99-check-remove-rpms 
new/post-build-checks-84.87+git20200110.2d02f07/check

commit post-build-checks for openSUSE:Factory

2019-07-29 Thread root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2019-07-29 17:24:23

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new.4126 (New)


Package is "post-build-checks"

Mon Jul 29 17:24:23 2019 rev:94 rq:715664 version:84.88+git20190716.5a0e034

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2019-07-08 15:09:35.867262921 +0200
+++ 
/work/SRC/openSUSE:Factory/.post-build-checks.new.4126/post-build-checks.changes
2019-07-29 17:24:24.890346111 +0200
@@ -1,0 +2,18 @@
+Tue Jul 16 11:32:46 UTC 2019 - r...@suse.com
+
+- Update to version 84.88+git20190716.5a0e034:
+  * Remove unused tests.
+
+---
+Fri Jul 12 10:06:12 UTC 2019 - Martin Liška 
+
+- Disable tests as GCC checks are gone.
+
+---
+Thu Jul 11 15:57:33 UTC 2019 - r...@suse.com
+
+- Update to version 84.88+git20190711.2b1c662:
+  https://github.com/openSUSE/post-build-checks/pull/26
+  * Remove GCC check output check.
+
+---

Old:

  post-build-checks-84.88+git20190702.429d0e0.tar.xz

New:

  post-build-checks-84.88+git20190716.5a0e034.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.VRe2e3/_old  2019-07-29 17:24:25.362345936 +0200
+++ /var/tmp/diff_new_pack.VRe2e3/_new  2019-07-29 17:24:25.366345935 +0200
@@ -16,13 +16,13 @@
 #
 
 
-%define version_unconverted 84.88+git20190702.429d0e0
+%define version_unconverted 84.88+git20190716.5a0e034
 
 Name:   post-build-checks
 Summary:post checks for build after rpms have been created
 License:GPL-2.0-or-later
 Group:  Development/Tools/Building
-Version:84.88+git20190702.429d0e0
+Version:84.88+git20190716.5a0e034
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck
@@ -68,12 +68,6 @@
 install -m 644 -D suse-ignored-rpaths.conf 
$RPM_BUILD_ROOT/etc/suse-ignored-rpaths.conf
 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
-
 %post
 # do nothing when not in a build chroot
 if ! test -e /.buildenv; then

++ _servicedata ++
--- /var/tmp/diff_new_pack.VRe2e3/_old  2019-07-29 17:24:25.402345921 +0200
+++ /var/tmp/diff_new_pack.VRe2e3/_new  2019-07-29 17:24:25.402345921 +0200
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  b3024ef7443ef0a77cb227ce824e3be2010aa071
+  78a6c62fee7bcbac6433f62dba77c48819e162f1
 
\ No newline at end of file

++ post-build-checks-84.88+git20190702.429d0e0.tar.xz -> 
post-build-checks-84.88+git20190716.5a0e034.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-84.88+git20190702.429d0e0/checks/50-check-gcc-output 
new/post-build-checks-84.88+git20190716.5a0e034/checks/50-check-gcc-output
--- old/post-build-checks-84.88+git20190702.429d0e0/checks/50-check-gcc-output  
2019-07-02 15:19:01.0 +0200
+++ new/post-build-checks-84.88+git20190716.5a0e034/checks/50-check-gcc-output  
1970-01-01 01:00:00.0 +0100
@@ -1,23 +0,0 @@
-#!/bin/bash
-# Check for dangerous compiler warnings
-#
-
-test -z "$LOGFILE" && LOGFILE=$BUILD_ROOT/.build.log
-
-case $PNAME in
-kernel-*) exit 0 ;;
-esac
-
-if [ -f $LOGFILE ]; then
-
-  echo "... testing for serious compiler warnings"
-  echo "(using /usr/lib/build/checks-data/check_gcc_output)"
-  echo "(using $LOGFILE)"
-
-  $BUILD_ROOT/usr/lib/build/checks-data/check_gcc_output $LOGFILE
-  if [ $? -ne 0 ]; then
-exit 1;
-  fi
-fi
-
-exit 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-84.88+git20190702.429d0e0/checks-data/check_gcc_output 
new/post-build-checks-84.88+git20190716.5a0e034/checks-data/check_gcc_output
--- 
old/post-build-checks-84.88+git20190702.429d0e0/checks-data/check_gcc_output
2019-07-02 15:19:01.0 +0200
+++ 
new/post-build-checks-84.88+git20190716.5a0e034/checks-data/check_gcc_output
1970-01-01 01:00:00.0 +0100
@@ -1,251 +0,0 @@
-#!/usr/bin/perl -w
-# vim:sw=4:et:
-
-use strict;
-
-# Re-adopted 2007 by Dirk Mueller, used code from
-# 2004 by Mads Martin Joergensen inspired by the original by
-# Andi Kleen, SuSE Labs who
-# based it on a python script by David Mosberger which was
-# Copyright (c

commit post-build-checks for openSUSE:Factory

2019-07-08 Thread root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2019-07-08 15:09:34

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new.4615 (New)


Package is "post-build-checks"

Mon Jul  8 15:09:34 2019 rev:93 rq:713060 version:84.88+git20190702.429d0e0

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2018-10-29 14:21:44.543635627 +0100
+++ 
/work/SRC/openSUSE:Factory/.post-build-checks.new.4615/post-build-checks.changes
2019-07-08 15:09:35.867262921 +0200
@@ -1,0 +2,13 @@
+Tue Jul 02 13:25:27 UTC 2019 - r...@suse.com
+
+- Update to version 84.88+git20190702.429d0e0:
+  * Completly don't use ghosts like files
+  * Ignore ghosts
+
+---
+Thu Jun 20 11:54:39 UTC 2019 - Martin Liška 
+
+- Disable LTO as some warnings are emitted late and
+  disappear with usage of -c (boo#1138834).
+
+---

Old:

  post-build-checks-84.88+git20181015.ceb5c96.tar.xz

New:

  post-build-checks-84.88+git20190702.429d0e0.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.7d71Or/_old  2019-07-08 15:09:36.927263938 +0200
+++ /var/tmp/diff_new_pack.7d71Or/_new  2019-07-08 15:09:36.931263942 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package post-build-checks
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,13 +16,13 @@
 #
 
 
-%define version_unconverted 84.88+git20181015.ceb5c96
+%define version_unconverted 84.88+git20190702.429d0e0
 
 Name:   post-build-checks
 Summary:post checks for build after rpms have been created
 License:GPL-2.0-or-later
 Group:  Development/Tools/Building
-Version:84.88+git20181015.ceb5c96
+Version:84.88+git20190702.429d0e0
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck
@@ -54,6 +54,7 @@
 %setup -q
 
 %build
+%define _lto_cflags %{nil}
 # nothing to do
 
 %install

++ _servicedata ++
--- /var/tmp/diff_new_pack.7d71Or/_old  2019-07-08 15:09:36.971263981 +0200
+++ /var/tmp/diff_new_pack.7d71Or/_new  2019-07-08 15:09:36.971263981 +0200
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  137cb2970fded9e1da947ae920e3ec611002c830
+  b3024ef7443ef0a77cb227ce824e3be2010aa071
 
\ No newline at end of file

++ post-build-checks-84.88+git20181015.ceb5c96.tar.xz -> 
post-build-checks-84.88+git20190702.429d0e0.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-84.88+git20181015.ceb5c96/checks-data/findfileconflicts 
new/post-build-checks-84.88+git20190702.429d0e0/checks-data/findfileconflicts
--- 
old/post-build-checks-84.88+git20181015.ceb5c96/checks-data/findfileconflicts   
2018-10-15 14:30:56.0 +0200
+++ 
new/post-build-checks-84.88+git20190702.429d0e0/checks-data/findfileconflicts   
2019-07-02 15:19:01.0 +0200
@@ -217,11 +217,13 @@
  $modes_ghost[$m] = $ff & 0100;
}
my $f = "$n/$bn";
-   if (exists $files{$f}) {
- $filesc{$f} ||= [ $files{$f} ];
- push @{$filesc{$f}}, "$pkg/$m";
-   } else {
- $files{$f} = "$pkg/$m";
+   if (($ff & 0100) != 0) {
+ if (exists $files{$f}) {
+   $filesc{$f} ||= [ $files{$f} ];
+   push @{$filesc{$f}}, "$pkg/$m";
+ } else {
+   $files{$f} = "$pkg/$m";
+ }
}
   }
 }




commit post-build-checks for openSUSE:Factory

2018-10-29 Thread root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2018-10-29 14:13:20

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Mon Oct 29 14:13:20 2018 rev:92 rq:642056 version:84.88+git20181015.ceb5c96

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2018-10-01 09:02:30.388043980 +0200
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2018-10-29 14:21:44.543635627 +0100
@@ -1,0 +2,6 @@
+Mon Oct 15 12:31:31 UTC 2018 - r...@suse.de
+
+- Update to version 84.88+git20181015.ceb5c96:
+  * Add suse-ignored-rpaths.conf (bsc#1109470)
+
+---

Old:

  post-build-checks-84.88+git20180920.ef3d8cb.tar.xz

New:

  post-build-checks-84.88+git20181015.ceb5c96.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.yp1vMF/_old  2018-10-29 14:21:44.971643199 +0100
+++ /var/tmp/diff_new_pack.yp1vMF/_new  2018-10-29 14:21:44.971643199 +0100
@@ -12,17 +12,17 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-%define version_unconverted 84.88+git20180920.ef3d8cb
+%define version_unconverted 84.88+git20181015.ceb5c96
 
 Name:   post-build-checks
 Summary:post checks for build after rpms have been created
 License:GPL-2.0-or-later
 Group:  Development/Tools/Building
-Version:84.88+git20180920.ef3d8cb
+Version:84.88+git20181015.ceb5c96
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck
@@ -64,16 +64,9 @@
 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
+install -m 644 -D suse-ignored-rpaths.conf 
$RPM_BUILD_ROOT/etc/suse-ignored-rpaths.conf
 chmod 755 $RPM_BUILD_ROOT/usr/lib/build/checks-data/check*
 
-( echo %_libdir 
-  echo /usr/local/%_lib
-  echo %_lib
-  echo %_libdir/Xaw3d
-  echo /usr/x86_64-suse-linux/lib
-  echo /opt/kde3/%_lib
-)  > $RPM_BUILD_ROOT/etc/suse-ignored-rpaths.conf
-
 %check
 for i in tests/xx*.c
 do

++ _servicedata ++
--- /var/tmp/diff_new_pack.yp1vMF/_old  2018-10-29 14:21:45.003643766 +0100
+++ /var/tmp/diff_new_pack.yp1vMF/_new  2018-10-29 14:21:45.003643766 +0100
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  ef3d8cb349ac8062bd2b73502539a32f05be3a0a
+  137cb2970fded9e1da947ae920e3ec611002c830
 
\ No newline at end of file

++ post-build-checks-84.88+git20180920.ef3d8cb.tar.xz -> 
post-build-checks-84.88+git20181015.ceb5c96.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-84.88+git20180920.ef3d8cb/suse-ignored-rpaths.conf 
new/post-build-checks-84.88+git20181015.ceb5c96/suse-ignored-rpaths.conf
--- old/post-build-checks-84.88+git20180920.ef3d8cb/suse-ignored-rpaths.conf
1970-01-01 01:00:00.0 +0100
+++ new/post-build-checks-84.88+git20181015.ceb5c96/suse-ignored-rpaths.conf
2018-10-15 14:30:56.0 +0200
@@ -0,0 +1,11 @@
+/usr/lib
+/usr/lib64
+/usr/local/lib
+/usr/local/lib64
+/lib
+/lib64
+/usr/lib/Xaw3d
+/usr/lib64/Xaw3d
+/usr/x86_64-suse-linux/lib
+/opt/kde3/lib
+/opt/kde3/lib64




commit post-build-checks for openSUSE:Factory

2018-10-01 Thread root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2018-10-01 09:02:28

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Mon Oct  1 09:02:28 2018 rev:91 rq:636914 version:84.88+git20180920.ef3d8cb

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2018-08-28 09:18:35.387722696 +0200
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2018-10-01 09:02:30.388043980 +0200
@@ -1,0 +2,30 @@
+Thu Sep 20 15:31:19 UTC 2018 - r...@suse.de
+
+- Update to version 84.88+git20180920.ef3d8cb:
+  * 50-check-kernel-build-id
+- add archs i686 ppc ppc64 s390 armv6l armv7l
+
+---
+Thu Sep 20 13:36:08 UTC 2018 - r...@suse.de
+
+- Update to version 84.88+git20180920.51eb861:
+  * 50-check-kernel-build-id
+- regroup checks for image and debuginfo
+- make arch list a little more robust
+- Handle i586. Also improve error handling when arch not found.
+- Change err() to return 0. Only return 1 if we successfully
+  compared the id's and there was a discrepancy.
+- change file mode to 755 for 50-check-kernel-build-id to match
+  all other checks
+  * make all OBS tex pdf builds reproducible by exporting
+FORCE_SOURCE_DATE as 1
+
+---
+Mon Sep 17 16:15:35 UTC 2018 - r...@suse.de
+
+- Update to version 84.88+git20180917.23b80ae:
+  * check for -fstack-clash-protection instead of -fmessage-length,
+as that one will be removed from optflags
+  * Add kernel-build-id consistency check
+
+---

Old:

  post-build-checks-84.88+git20180809.3be1b09.tar.xz

New:

  post-build-checks-84.88+git20180920.ef3d8cb.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.aNXPO8/_old  2018-10-01 09:02:30.804043618 +0200
+++ /var/tmp/diff_new_pack.aNXPO8/_new  2018-10-01 09:02:30.804043618 +0200
@@ -16,13 +16,13 @@
 #
 
 
-%define version_unconverted 84.88+git20180809.3be1b09
+%define version_unconverted 84.88+git20180920.ef3d8cb
 
 Name:   post-build-checks
 Summary:post checks for build after rpms have been created
 License:GPL-2.0-or-later
 Group:  Development/Tools/Building
-Version:84.88+git20180809.3be1b09
+Version:84.88+git20180920.ef3d8cb
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck

++ _servicedata ++
--- /var/tmp/diff_new_pack.aNXPO8/_old  2018-10-01 09:02:30.844043583 +0200
+++ /var/tmp/diff_new_pack.aNXPO8/_new  2018-10-01 09:02:30.844043583 +0200
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  3be1b099402914cdfe62d7d82e80ab0742b7ebe8
+  ef3d8cb349ac8062bd2b73502539a32f05be3a0a
 
\ No newline at end of file

++ post-build-checks-84.88+git20180809.3be1b09.tar.xz -> 
post-build-checks-84.88+git20180920.ef3d8cb.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-84.88+git20180809.3be1b09/checks/50-check-kernel-build-id 
new/post-build-checks-84.88+git20180920.ef3d8cb/checks/50-check-kernel-build-id
--- 
old/post-build-checks-84.88+git20180809.3be1b09/checks/50-check-kernel-build-id 
1970-01-01 01:00:00.0 +0100
+++ 
new/post-build-checks-84.88+git20180920.ef3d8cb/checks/50-check-kernel-build-id 
2018-09-20 17:30:03.0 +0200
@@ -0,0 +1,156 @@
+#!/bin/bash
+#set -x
+
+# Verify consistency of BuildID between vmlinux, image (vmlinuz etc - if 
+# supported) and vmlinux.debug (debuginfo). 
+# Tony Jones , May 2018
+
+# This script uses following build environment vars:
+# -PNAME (package name)
+# -BUILD_DEBUG (are debuginfo's being built? aka osc build -d?)
+
+trap '[ -d "${_tmpdir}" ] && rm -rf ${_tmpdir}' EXIT
+function warn() { echo "... $*" >&2; }
+function err() { warn $*; echo "Giving up" >&2 ; exit 0; }
+function buildid() { eu-readelf --notes $1 | awk '/Build ID:/ {print $3}'; }
+function have_image { [ -n "${image_name}" ]; }
+function have_debuginfo { [ ${have_debugi} -eq 1 ]; }
+
+# Find the version#s for kernel and kernel rpm
+# This should be consistent across branches
+function findversion() {
+   local _rpm 
+
+   [ -d ${rpms} ] || err "Unable to find rpmbuild dir ${rpms}"
+
+   # find the "main" kernel rpm for $PNAME
+   _rpm=`cd ${rpms}; compgen -G "${PNAME}-[0-9]*.${arch}.rpm"`
+
+   [ -z "${_rpm}" -o ! -f "${rpms}/${_rpm}" ]

commit post-build-checks for openSUSE:Factory

2018-08-28 Thread root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2018-08-28 09:18:31

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Tue Aug 28 09:18:31 2018 rev:90 rq:628432 version:84.88+git20180809.3be1b09

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2018-04-17 11:08:53.738661200 +0200
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2018-08-28 09:18:35.387722696 +0200
@@ -1,0 +2,7 @@
+Thu Aug 09 14:16:06 UTC 2018 - adr...@suse.de
+
+- Update to version 84.88+git20180809.3be1b09:
+  * Warnings for core files, no errors yet
+  * QT_HASH_SEED has to be 0
+
+---

Old:

  post-build-checks-84.87+git20180412.b38aed4.tar.xz

New:

  post-build-checks-84.88+git20180809.3be1b09.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.xNdoSL/_old  2018-08-28 09:18:35.843724146 +0200
+++ /var/tmp/diff_new_pack.xNdoSL/_new  2018-08-28 09:18:35.847724159 +0200
@@ -16,13 +16,13 @@
 #
 
 
-%define version_unconverted 84.87+git20180412.b38aed4
+%define version_unconverted 84.88+git20180809.3be1b09
 
 Name:   post-build-checks
 Summary:post checks for build after rpms have been created
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Development/Tools/Building
-Version:84.87+git20180412.b38aed4
+Version:84.88+git20180809.3be1b09
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck
@@ -80,9 +80,6 @@
(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
@@ -115,7 +112,7 @@
 
 %files
 %defattr(-, root, root)
-%doc COPYING
+%license COPYING
 /usr/lib/build
 /etc/profile.d/suse-buildsystem.sh
 /etc/suse-ignored-rpaths.conf

++ _service ++
--- /var/tmp/diff_new_pack.xNdoSL/_old  2018-08-28 09:18:35.879724260 +0200
+++ /var/tmp/diff_new_pack.xNdoSL/_new  2018-08-28 09:18:35.879724260 +0200
@@ -1,7 +1,7 @@
 
   
-84.87
-84.87+git%cd.%h
+84.88
+84.88+git%cd.%h
 git://github.com/openSUSE/post-build-checks.git
 git
 .git

++ _servicedata ++
--- /var/tmp/diff_new_pack.xNdoSL/_old  2018-08-28 09:18:35.899724325 +0200
+++ /var/tmp/diff_new_pack.xNdoSL/_new  2018-08-28 09:18:35.899724325 +0200
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  0ef96b34d7349aed75193a3991b2b1ea8730e902
+  3be1b099402914cdfe62d7d82e80ab0742b7ebe8
 
\ No newline at end of file

++ post-build-checks-84.87+git20180412.b38aed4.tar.xz -> 
post-build-checks-84.88+git20180809.3be1b09.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-84.87+git20180412.b38aed4/checks/50-check-core-files 
new/post-build-checks-84.88+git20180809.3be1b09/checks/50-check-core-files
--- old/post-build-checks-84.87+git20180412.b38aed4/checks/50-check-core-files  
1970-01-01 01:00:00.0 +0100
+++ new/post-build-checks-84.88+git20180809.3be1b09/checks/50-check-core-files  
2018-08-09 16:13:13.0 +0200
@@ -0,0 +1,13 @@
+#!/bin/bash
+# Checking for crashed programs
+# This is currently just a warning, but should become an error
+#
+
+if [ -d $BUILD_ROOT/.build/cores ]; then
+
+  echo "... checking for core files"
+  find $BUILD_ROOT/.build/cores -type f
+
+fi
+
+exit 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-84.87+git20180412.b38aed4/suse-buildsystem.sh 
new/post-build-checks-84.88+git20180809.3be1b09/suse-buildsystem.sh
--- old/post-build-checks-84.87+git20180412.b38aed4/suse-buildsystem.sh 
2018-04-12 01:05:17.0 +0200
+++ new/post-build-checks-84.88+git20180809.3be1b09/suse-buildsystem.sh 
2018-08-09 16:13:13.0 +0200
@@ -1,6 +1,6 @@
 export SUSE_IGNORED_RPATHS=/etc/suse-ignored-rpaths.conf
 export SUSE_ASNEEDED=1
-export QT_HASH_SEED=42
+export QT_HASH_SEED=0
 export PERL_HASH_SEED=42
 export PYTHONHASHSEED=0
 




commit post-build-checks for openSUSE:Factory

2018-04-17 Thread root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2018-04-17 11:08:48

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Tue Apr 17 11:08:48 2018 rev:89 rq:595800 version:84.87+git20180412.b38aed4

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2018-01-29 14:54:07.727853204 +0100
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2018-04-17 11:08:53.738661200 +0200
@@ -1,0 +2,6 @@
+Wed Apr 11 23:06:35 UTC 2018 - r...@suse.de
+
+- Update to version 84.87+git20180412.b38aed4:
+  * Mark test as broken due to GCC 8 and fortification.
+
+---

Old:

  post-build-checks-84.87+git20171221.9eed556.tar.xz

New:

  post-build-checks-84.87+git20180412.b38aed4.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.uNA8sD/_old  2018-04-17 11:08:54.242637704 +0200
+++ /var/tmp/diff_new_pack.uNA8sD/_new  2018-04-17 11:08:54.246637517 +0200
@@ -16,13 +16,13 @@
 #
 
 
-%define version_unconverted 84.87+git20171221.9eed556
+%define version_unconverted 84.87+git20180412.b38aed4
 
 Name:   post-build-checks
 Summary:post checks for build after rpms have been created
 License:GPL-2.0+
 Group:  Development/Tools/Building
-Version:84.87+git20171221.9eed556
+Version:84.87+git20180412.b38aed4
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck

++ _servicedata ++
--- /var/tmp/diff_new_pack.uNA8sD/_old  2018-04-17 11:08:54.286635652 +0200
+++ /var/tmp/diff_new_pack.uNA8sD/_new  2018-04-17 11:08:54.286635652 +0200
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  9eed55670d08c68a173571df8815cd42d88cf581
+  0ef96b34d7349aed75193a3991b2b1ea8730e902
 
\ No newline at end of file

++ post-build-checks-84.87+git20171221.9eed556.tar.xz -> 
post-build-checks-84.87+git20180412.b38aed4.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-84.87+git20171221.9eed556/tests/xx11.BROKEN.C 
new/post-build-checks-84.87+git20180412.b38aed4/tests/xx11.BROKEN.C
--- old/post-build-checks-84.87+git20171221.9eed556/tests/xx11.BROKEN.C 
1970-01-01 01:00:00.0 +0100
+++ new/post-build-checks-84.87+git20180412.b38aed4/tests/xx11.BROKEN.C 
2018-04-12 01:05:17.0 +0200
@@ -0,0 +1,8 @@
+#include 
+
+char buf[6];
+int main(int argc, char **argv) {
+   strcpy(buf,"hello ");
+   strcat(buf,"world!");
+   return 0;
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-84.87+git20171221.9eed556/tests/xx11.c 
new/post-build-checks-84.87+git20180412.b38aed4/tests/xx11.c
--- old/post-build-checks-84.87+git20171221.9eed556/tests/xx11.c
2017-12-21 21:08:24.0 +0100
+++ new/post-build-checks-84.87+git20180412.b38aed4/tests/xx11.c
1970-01-01 01:00:00.0 +0100
@@ -1,8 +0,0 @@
-#include 
-
-char buf[6];
-int main(int argc, char **argv) {
-   strcpy(buf,"hello ");
-   strcat(buf,"world!");
-   return 0;
-}




commit post-build-checks for openSUSE:Factory

2018-01-29 Thread root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2018-01-29 14:54:06

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Mon Jan 29 14:54:06 2018 rev:88 rq:568221 version:84.87+git20171221.9eed556

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2017-12-06 08:46:13.408146801 +0100
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2018-01-29 14:54:07.727853204 +0100
@@ -1,0 +2,6 @@
+Tue Jan 16 10:11:15 UTC 2018 - tchva...@suse.com
+
+- Update to version 84.87+git20171221.9eed556:
+  * Move all scripts that can run in parallel to the same run-level (50).
+
+---

Old:

  post-build-checks-84.87+git20171124.8f470bc.tar.xz

New:

  post-build-checks-84.87+git20171221.9eed556.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.8ufnde/_old  2018-01-29 14:54:08.383822558 +0100
+++ /var/tmp/diff_new_pack.8ufnde/_new  2018-01-29 14:54:08.387822371 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package post-build-checks
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,13 +16,13 @@
 #
 
 
-%define version_unconverted 84.87+git20171124.8f470bc
+%define version_unconverted 84.87+git20171221.9eed556
 
 Name:   post-build-checks
 Summary:post checks for build after rpms have been created
 License:GPL-2.0+
 Group:  Development/Tools/Building
-Version:84.87+git20171124.8f470bc
+Version:84.87+git20171221.9eed556
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck

++ _servicedata ++
--- /var/tmp/diff_new_pack.8ufnde/_old  2018-01-29 14:54:08.439819942 +0100
+++ /var/tmp/diff_new_pack.8ufnde/_new  2018-01-29 14:54:08.439819942 +0100
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  8f470bcade61e546593c00d2c78365f5ffdd69b7
+  9eed55670d08c68a173571df8815cd42d88cf581
 
\ No newline at end of file

++ post-build-checks-84.87+git20171124.8f470bc.tar.xz -> 
post-build-checks-84.87+git20171221.9eed556.tar.xz ++
 1670 lines of diff (skipped)




commit post-build-checks for openSUSE:Factory

2017-12-05 Thread root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2017-12-06 08:46:06

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Wed Dec  6 08:46:06 2017 rev:87 rq:545255 version:84.87+git20171124.8f470bc

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2017-10-26 18:38:57.195155938 +0200
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2017-12-06 08:46:13.408146801 +0100
@@ -1,0 +2,10 @@
+Fri Nov 24 15:48:17 UTC 2017 - r...@suse.de
+
+- Update to version 84.87+git20171124.8f470bc:
+  * export QT_HASH_SEED
+  * Fix incorrect matching due to greedy regexp (Fixes: #14)
+  * Also treat c++ as a valid compiler
+  * check_gcc_output: drop ansi escape sequences (colors)
+before checking for warnings
+
+---

Old:

  post-build-checks-84.87+git20170929.5b244d1.tar.xz

New:

  post-build-checks-84.87+git20171124.8f470bc.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.20teBN/_old  2017-12-06 08:46:14.188118243 +0100
+++ /var/tmp/diff_new_pack.20teBN/_new  2017-12-06 08:46:14.192118096 +0100
@@ -16,13 +16,13 @@
 #
 
 
-%define version_unconverted 84.87+git20170929.5b244d1
+%define version_unconverted 84.87+git20171124.8f470bc
 
 Name:   post-build-checks
 Summary:post checks for build after rpms have been created
 License:GPL-2.0+
 Group:  Development/Tools/Building
-Version:84.87+git20170929.5b244d1
+Version:84.87+git20171124.8f470bc
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck

++ _servicedata ++
--- /var/tmp/diff_new_pack.20teBN/_old  2017-12-06 08:46:14.228116778 +0100
+++ /var/tmp/diff_new_pack.20teBN/_new  2017-12-06 08:46:14.228116778 +0100
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  b790187555f414130cbf094ffce38bbb91e21762
+  8f470bcade61e546593c00d2c78365f5ffdd69b7
 
\ No newline at end of file

++ post-build-checks-84.87+git20170929.5b244d1.tar.xz -> 
post-build-checks-84.87+git20171124.8f470bc.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-84.87+git20170929.5b244d1/checks-data/check_gcc_output 
new/post-build-checks-84.87+git20171124.8f470bc/checks-data/check_gcc_output
--- 
old/post-build-checks-84.87+git20170929.5b244d1/checks-data/check_gcc_output
2017-09-29 00:39:46.0 +0200
+++ 
new/post-build-checks-84.87+git20171124.8f470bc/checks-data/check_gcc_output
2017-11-24 16:46:40.0 +0100
@@ -30,12 +30,12 @@
 'warning:.*(called with bigger.*destination buffer)|(writing .* bytes into 
a region of size .* overflows the destination)' => "destbufferoverflow",
 'warning:.*is used uninitialized in this function' => 
"uninitialized-variable",
 'warning:.*too few arguments for format' => "missing-arg-for-fmt-string",
-"warning:.*implicit 
.*'(recv|recvfrom|read|pread|pread64|readlink|getwd|getcwd|fgets|fgets_unlock|strncat|strcat|memmove|memcpy|mempcpy|memcmp|strpcpy|strcpy|strchr|strncpy|printf|sprintf|snprintf|vprintf|vsprintf|vsnprintf|fprintf|vfprintf|gets|memset|bzero|bcopy|strlen|strcmp|wcscpy|wcpcpy|wcsncpy|wcpncpy|wcscat|swprintf|vswprintf|fgetws|wcsrtombs|mbsrtowcs|wcrtomb|wcsnrtombs|ptsname|realpath|wctomb|mbstowcs|ttyname_r|getlogin_r|getgroups|confstr|gethostname|getdomainname|puts|seteuid|setuid|setresuid|setgid|setegid|execvp|setgroups|setfsuid|setfsgid|setresgid|setresuid|pwrite|pread)'"
 => "implicit-fortify-decl",
+"warning:.*implicit 
[^\']*'(recv|recvfrom|read|pread|pread64|readlink|getwd|getcwd|fgets|fgets_unlock|strncat|strcat|memmove|memcpy|mempcpy|memcmp|strpcpy|strcpy|strchr|strncpy|printf|sprintf|snprintf|vprintf|vsprintf|vsnprintf|fprintf|vfprintf|gets|memset|bzero|bcopy|strlen|strcmp|wcscpy|wcpcpy|wcsncpy|wcpncpy|wcscat|swprintf|vswprintf|fgetws|wcsrtombs|mbsrtowcs|wcrtomb|wcsnrtombs|ptsname|realpath|wctomb|mbstowcs|ttyname_r|getlogin_r|getgroups|confstr|gethostname|getdomainname|puts|seteuid|setuid|setresuid|setgid|setegid|execvp|setgroups|setfsuid|setfsgid|setresgid|setresuid|pwrite|pread)'"
 => "implicit-fortify-decl",
 'warning:.*memset used with constant zero length parameter' => 
"memset-with-zero-length",
 'warning:.*comparison with string literal' => "stringcompare",
 "warning:.*'return' with no value, in function returning non-void" => 
"voidreturn",
 'warning:.*array subscript is (below|above) a

commit post-build-checks for openSUSE:Factory

2017-10-26 Thread root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2017-10-26 18:38:49

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Thu Oct 26 18:38:49 2017 rev:86 rq:535830 version:84.87+git20170929.5b244d1

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2017-07-24 12:28:53.975353498 +0200
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2017-10-26 18:38:57.195155938 +0200
@@ -1,0 +2,6 @@
+Sun Oct 22 22:31:48 UTC 2017 - r...@suse.de
+
+- Update to version 84.87+git20170929.5b244d1:
+  * Fix performance regression in warning match regexp
+
+---

Old:

  post-build-checks-84.87+git20170712.7ededdb.tar.xz

New:

  post-build-checks-84.87+git20170929.5b244d1.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.t5axIW/_old  2017-10-26 18:38:57.791128135 +0200
+++ /var/tmp/diff_new_pack.t5axIW/_new  2017-10-26 18:38:57.795127948 +0200
@@ -16,13 +16,13 @@
 #
 
 
-%define version_unconverted 84.87+git20170712.7ededdb
+%define version_unconverted 84.87+git20170929.5b244d1
 
 Name:   post-build-checks
 Summary:post checks for build after rpms have been created
 License:GPL-2.0+
 Group:  Development/Tools/Building
-Version:84.87+git20170712.7ededdb
+Version:84.87+git20170929.5b244d1
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck

++ _servicedata ++
--- /var/tmp/diff_new_pack.t5axIW/_old  2017-10-26 18:38:57.835126082 +0200
+++ /var/tmp/diff_new_pack.t5axIW/_new  2017-10-26 18:38:57.835126082 +0200
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  268bf4f1ad73ba925ae045fc3ee8b339f6b71b3e
+  b790187555f414130cbf094ffce38bbb91e21762
 
\ No newline at end of file

++ post-build-checks-84.87+git20170712.7ededdb.tar.xz -> 
post-build-checks-84.87+git20170929.5b244d1.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-84.87+git20170712.7ededdb/checks-data/check_gcc_output 
new/post-build-checks-84.87+git20170929.5b244d1/checks-data/check_gcc_output
--- 
old/post-build-checks-84.87+git20170712.7ededdb/checks-data/check_gcc_output
2017-07-12 17:20:36.0 +0200
+++ 
new/post-build-checks-84.87+git20170929.5b244d1/checks-data/check_gcc_output
2017-09-29 00:39:46.0 +0200
@@ -27,7 +27,7 @@
 'warning:.*missing sentinel in function call' => "missing-sentinel",
 'warning:.*call to .* will always overflow destination buffer' => 
"bufferoverflow",
 'warning:.*call to .*strncat.* might overflow destination buffer' => 
"bufferoverflowstrncat",
-'warning:(.*called with bigger.*destination buffer)|(.*writing .* bytes 
into a region of size .* overflows the destination)' => "destbufferoverflow",
+'warning:.*(called with bigger.*destination buffer)|(writing .* bytes into 
a region of size .* overflows the destination)' => "destbufferoverflow",
 'warning:.*is used uninitialized in this function' => 
"uninitialized-variable",
 'warning:.*too few arguments for format' => "missing-arg-for-fmt-string",
 "warning:.*implicit 
.*'(recv|recvfrom|read|pread|pread64|readlink|getwd|getcwd|fgets|fgets_unlock|strncat|strcat|memmove|memcpy|mempcpy|memcmp|strpcpy|strcpy|strchr|strncpy|printf|sprintf|snprintf|vprintf|vsprintf|vsnprintf|fprintf|vfprintf|gets|memset|bzero|bcopy|strlen|strcmp|wcscpy|wcpcpy|wcsncpy|wcpncpy|wcscat|swprintf|vswprintf|fgetws|wcsrtombs|mbsrtowcs|wcrtomb|wcsnrtombs|ptsname|realpath|wctomb|mbstowcs|ttyname_r|getlogin_r|getgroups|confstr|gethostname|getdomainname|puts|seteuid|setuid|setresuid|setgid|setegid|execvp|setgroups|setfsuid|setfsgid|setresgid|setresuid|pwrite|pread)'"
 => "implicit-fortify-decl",




commit post-build-checks for openSUSE:Factory

2017-07-24 Thread root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2017-07-24 12:28:51

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Mon Jul 24 12:28:51 2017 rev:85 rq:510267 version:84.87+git20170712.7ededdb

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2017-05-27 13:05:07.255853615 +0200
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2017-07-24 12:28:53.975353498 +0200
@@ -1,0 +2,7 @@
+Wed Jul 12 15:28:01 UTC 2017 - tchva...@suse.com
+
+- Update to version 84.87+git20170712.7ededdb:
+  * Fix spacing in sequence-point warning
+  * Try harder matching soname changes/tweaks (this fixes lua name change)
+
+---

Old:

  post-build-checks-84.87+git20170411.08a40e3.tar.xz

New:

  post-build-checks-84.87+git20170712.7ededdb.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.qLIJj6/_old  2017-07-24 12:28:54.727247401 +0200
+++ /var/tmp/diff_new_pack.qLIJj6/_new  2017-07-24 12:28:54.731246836 +0200
@@ -16,13 +16,13 @@
 #
 
 
-%define version_unconverted 84.87+git20170411.08a40e3
+%define version_unconverted 84.87+git20170712.7ededdb
 
 Name:   post-build-checks
 Summary:post checks for build after rpms have been created
 License:GPL-2.0+
 Group:  Development/Tools/Building
-Version:84.87+git20170411.08a40e3
+Version:84.87+git20170712.7ededdb
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck

++ _servicedata ++
--- /var/tmp/diff_new_pack.qLIJj6/_old  2017-07-24 12:28:54.771241193 +0200
+++ /var/tmp/diff_new_pack.qLIJj6/_new  2017-07-24 12:28:54.771241193 +0200
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  9ada94ad999c469c04f9a4225e7007da36c382e3
+  268bf4f1ad73ba925ae045fc3ee8b339f6b71b3e
 
\ No newline at end of file

++ post-build-checks-84.87+git20170411.08a40e3.tar.xz -> 
post-build-checks-84.87+git20170712.7ededdb.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-84.87+git20170411.08a40e3/checks/99-check-remove-rpms 
new/post-build-checks-84.87+git20170712.7ededdb/checks/99-check-remove-rpms
--- old/post-build-checks-84.87+git20170411.08a40e3/checks/99-check-remove-rpms 
2017-04-11 13:57:44.0 +0200
+++ new/post-build-checks-84.87+git20170712.7ededdb/checks/99-check-remove-rpms 
2017-07-12 17:20:36.0 +0200
@@ -56,13 +56,15 @@
 test -e "$BUILD_ROOT/installed-pkg/$PKG-mini" && continue
 # Nor packages differing in the shlib version like libreadline5 vs.
 # libreadline6
-PKG1=${PKG%[0-9]}[0-9]
-test -e $BUILD_ROOT/installed-pkg/$PKG1 && {
-N=`ls $BUILD_ROOT/installed-pkg/$PKG1`
+# libtool allows for version match like libbla-1_2-5 thus we should match
+# for it all possibilities and pass if the soname changed
+PKG1=${PKG//[0-9_-]/}[0-9]*
+if [[ `ls -1 $BUILD_ROOT/installed-pkg/$PKG1 2>/dev/null | wc -l ` -gt 0 
]]; then
+N=`ls -1 $BUILD_ROOT/installed-pkg/$PKG1 |head -n1`
N=`basename $N`
echo "(keeping $PKG because of $N)"
continue
-}
+fi
 # Do not remove libgcc or libstdc++ variants
 case ${PKG} in
 libgcc*|libstdc++*)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-84.87+git20170411.08a40e3/checks-data/check_gcc_output 
new/post-build-checks-84.87+git20170712.7ededdb/checks-data/check_gcc_output
--- 
old/post-build-checks-84.87+git20170411.08a40e3/checks-data/check_gcc_output
2017-04-11 13:57:44.0 +0200
+++ 
new/post-build-checks-84.87+git20170712.7ededdb/checks-data/check_gcc_output
2017-07-12 17:20:36.0 +0200
@@ -41,7 +41,7 @@
 my %warn_desc = (
 "strict-aliasing-punning" =>  "Program is likely to break with new gcc. 
Try -fno-strict-aliasing.\n",
 "sequence-point" => "Program causes undefined operation\n(likely same 
variable used twice" .
-"and post/pre incremented in the same expression).\n" .
+" and post/pre incremented in the same expression).\n" .
 "e.g. x = x++; Split it in two operations.",
 "mathmeaning" => "Program uses operation a <= b <= c, which is not well 
defined.\n",
 "no-return-in-nonvoid-function" => "Program returns random data in a 
function",




commit post-build-checks for openSUSE:Factory

2017-05-27 Thread root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2017-05-27 13:05:05

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Sat May 27 13:05:05 2017 rev:84 rq:487317 version:84.87+git20170411.08a40e3

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2016-05-14 12:23:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2017-05-27 13:05:07.255853615 +0200
@@ -1,0 +2,13 @@
+Tue Apr 11 11:58:03 UTC 2017 - lnus...@suse.de
+
+- Update to version 84.87+git20170411.08a40e3:
+  * use PYTHONHASHSEED=0
+
+---
+Tue Apr 11 09:04:29 UTC 2017 - lnus...@suse.de
+
+- Update to version 84.87+git20170411.50017fe:
+  * use fixed hash seed values for perl+python
+  * Support new buffer overflow format for GCC7.
+
+---

Old:

  post-build-checks-13.2+git20160512.be9650e.tar.xz

New:

  post-build-checks-84.87+git20170411.08a40e3.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.i3aQwc/_old  2017-05-27 13:05:07.971752395 +0200
+++ /var/tmp/diff_new_pack.i3aQwc/_new  2017-05-27 13:05:07.971752395 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package post-build-checks
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,13 +16,13 @@
 #
 
 
-%define version_unconverted 13.2+git20160512.be9650e
+%define version_unconverted 84.87+git20170411.08a40e3
 
 Name:   post-build-checks
 Summary:post checks for build after rpms have been created
 License:GPL-2.0+
 Group:  Development/Tools/Building
-Version:13.2+git20160512.be9650e
+Version:84.87+git20170411.08a40e3
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck

++ _service ++
--- /var/tmp/diff_new_pack.i3aQwc/_old  2017-05-27 13:05:08.003747871 +0200
+++ /var/tmp/diff_new_pack.i3aQwc/_new  2017-05-27 13:05:08.003747871 +0200
@@ -1,7 +1,7 @@
 
   
-13.2
-13.2+git%cd.%h
+84.87
+84.87+git%cd.%h
 git://github.com/openSUSE/post-build-checks.git
 git
 .git

++ _servicedata ++
--- /var/tmp/diff_new_pack.i3aQwc/_old  2017-05-27 13:05:08.019745609 +0200
+++ /var/tmp/diff_new_pack.i3aQwc/_new  2017-05-27 13:05:08.023745043 +0200
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  be9650e800652f30111db76894da1d1ccb47508d
-
+  9ada94ad999c469c04f9a4225e7007da36c382e3
+
\ No newline at end of file

++ post-build-checks-13.2+git20160512.be9650e.tar.xz -> 
post-build-checks-84.87+git20170411.08a40e3.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-13.2+git20160512.be9650e/checks-data/check_gcc_output 
new/post-build-checks-84.87+git20170411.08a40e3/checks-data/check_gcc_output
--- old/post-build-checks-13.2+git20160512.be9650e/checks-data/check_gcc_output 
2015-03-24 12:42:39.0 +0100
+++ 
new/post-build-checks-84.87+git20170411.08a40e3/checks-data/check_gcc_output
2017-04-11 13:57:44.0 +0200
@@ -27,7 +27,7 @@
 'warning:.*missing sentinel in function call' => "missing-sentinel",
 'warning:.*call to .* will always overflow destination buffer' => 
"bufferoverflow",
 'warning:.*call to .*strncat.* might overflow destination buffer' => 
"bufferoverflowstrncat",
-'warning:.*called with bigger.*destination buffer' => "destbufferoverflow",
+'warning:(.*called with bigger.*destination buffer)|(.*writing .* bytes 
into a region of size .* overflows the destination)' => "destbufferoverflow",
 'warning:.*is used uninitialized in this function' => 
"uninitialized-variable",
 'warning:.*too few arguments for format' => "missing-arg-for-fmt-string",
 "warning:.*implicit 
.*'(recv|recvfrom|read|pread|pread64|readlink|getwd|getcwd|fgets|fgets_unlock|strncat|strcat|memmove|memcpy|mempcpy|memcmp|strpcpy|strcpy|strchr|strncpy|printf|sprintf|snprintf|vprintf|vsprintf|vsnprintf|fprintf|vfprintf|gets|memset|bzero|bcopy|strlen|strcmp|wcscpy|wcpcpy|wcsncpy|wcpncpy|wcscat|swprintf|vswprintf|fgetws|wcsrtombs|mbsrtowcs|wcrtomb|wcsnrtombs|ptsname|realpath|wctomb|mbstowcs|ttyname_r|getlogin_r|getgroups|confstr|gethostname|getdomainname|puts|s

commit post-build-checks for openSUSE:Factory

2016-05-14 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2016-05-14 12:23:15

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2015-09-19 06:51:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2016-05-14 12:23:16.0 +0200
@@ -1,0 +2,6 @@
+Thu May 12 06:47:37 UTC 2016 - lnus...@suse.de
+
+- Update to version 13.2+git20160512.be9650e:
+  * Do not remove packages that had a corresponding -mini installed
+
+---

Old:

  post-build-checks-13.2+git20150810.2703d2a.tar.xz

New:

  post-build-checks-13.2+git20160512.be9650e.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.LWnr7b/_old  2016-05-14 12:23:17.0 +0200
+++ /var/tmp/diff_new_pack.LWnr7b/_new  2016-05-14 12:23:17.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package post-build-checks
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,11 +16,13 @@
 #
 
 
+%define version_unconverted 13.2+git20160512.be9650e
+
 Name:   post-build-checks
 Summary:post checks for build after rpms have been created
 License:GPL-2.0+
 Group:  Development/Tools/Building
-Version:13.2+git20150810.2703d2a
+Version:13.2+git20160512.be9650e
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck

++ _servicedata ++
--- /var/tmp/diff_new_pack.LWnr7b/_old  2016-05-14 12:23:17.0 +0200
+++ /var/tmp/diff_new_pack.LWnr7b/_new  2016-05-14 12:23:17.0 +0200
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  2703d2a45237235c7e63d6f0ca21d1143c86df87
-
\ No newline at end of file
+  be9650e800652f30111db76894da1d1ccb47508d
+

++ post-build-checks-13.2+git20150810.2703d2a.tar.xz -> 
post-build-checks-13.2+git20160512.be9650e.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-13.2+git20150810.2703d2a/checks/99-check-remove-rpms 
new/post-build-checks-13.2+git20160512.be9650e/checks/99-check-remove-rpms
--- old/post-build-checks-13.2+git20150810.2703d2a/checks/99-check-remove-rpms  
2015-03-24 12:42:39.0 +0100
+++ new/post-build-checks-13.2+git20160512.be9650e/checks/99-check-remove-rpms  
2016-05-12 08:47:37.0 +0200
@@ -52,6 +52,8 @@
 PKG=${PKG%.rpm}
 # Do not remove installed packages
 test -e "$BUILD_ROOT/installed-pkg/$PKG" && continue
+# Do not remove packages that have a corresponding -mini installed (used 
to avoid cycles)
+test -e "$BUILD_ROOT/installed-pkg/$PKG-mini" && continue
 # Nor packages differing in the shlib version like libreadline5 vs.
 # libreadline6
 PKG1=${PKG%[0-9]}[0-9]




commit post-build-checks for openSUSE:Factory

2015-09-18 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2015-09-19 06:51:52

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2015-03-25 21:05:18.0 +0100
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2015-09-19 06:51:53.0 +0200
@@ -1,0 +2,7 @@
+Mon Aug 10 11:17:20 UTC 2015 - lnus...@suse.de
+
+- Update to version 13.2+git20150810.2703d2a:
+  + Fix quoting of TOPDIR in regex pattern
+  + Skip 03-check-binary-kernel-log for kernel-docs package
+
+---

Old:

  post-build-checks-13.2+git20150324.8993d63.tar.xz

New:

  post-build-checks-13.2+git20150810.2703d2a.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.ux0E3d/_old  2015-09-19 06:51:54.0 +0200
+++ /var/tmp/diff_new_pack.ux0E3d/_new  2015-09-19 06:51:54.0 +0200
@@ -20,7 +20,7 @@
 Summary:post checks for build after rpms have been created
 License:GPL-2.0+
 Group:  Development/Tools/Building
-Version:13.2+git20150324.8993d63
+Version:13.2+git20150810.2703d2a
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck

++ _servicedata ++
--- /var/tmp/diff_new_pack.ux0E3d/_old  2015-09-19 06:51:54.0 +0200
+++ /var/tmp/diff_new_pack.ux0E3d/_new  2015-09-19 06:51:54.0 +0200
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  8993d635a0a69cc381ae0b1aea03c5d88a9237ac
+  2703d2a45237235c7e63d6f0ca21d1143c86df87
 
\ No newline at end of file

++ post-build-checks-13.2+git20150324.8993d63.tar.xz -> 
post-build-checks-13.2+git20150810.2703d2a.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-13.2+git20150324.8993d63/checks/03-check-binary-kernel-log
 
new/post-build-checks-13.2+git20150810.2703d2a/checks/03-check-binary-kernel-log
--- 
old/post-build-checks-13.2+git20150324.8993d63/checks/03-check-binary-kernel-log
2015-03-24 12:42:39.0 +0100
+++ 
new/post-build-checks-13.2+git20150810.2703d2a/checks/03-check-binary-kernel-log
2015-08-10 13:17:20.0 +0200
@@ -8,7 +8,7 @@
 test -L $BUILD_ROOT/.build.packages && TOPDIR=/$(readlink 
$BUILD_ROOT/.build.packages)
 
 case "$PNAME" in
-kernel-source | kernel-dummy | kernel-syms)
+kernel-source | kernel-dummy | kernel-syms | kernel-docs)
exit 0 ;;
 kernel-*)
;;
@@ -51,7 +51,7 @@
 }
 
 # Generate a list of external module directories.
-extmod_re="${TOPDIR//\//\/}\/BUILD\/kernel-[^/]*-[^/]*\/modules-[^/]*"
+extmod_re="${TOPDIR//\//\\/}\/BUILD\/kernel-[^/]*-[^/]*\/modules-[^/]*"
 extmod_subdirs=$(sed -ne "s/.*Entering directory 
\`$extmod_re\/\\([^/]*\\)'$/\1/p" $LOGFILE \
 | sort -u)
 




commit post-build-checks for openSUSE:Factory

2015-03-25 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2015-03-25 21:05:13

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2014-10-15 16:19:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2015-03-25 21:05:18.0 +0100
@@ -1,0 +2,6 @@
+Tue Mar 24 11:42:39 UTC 2015 - lnus...@suse.de
+
+- Update to version 13.2+git20150324.8993d63:
+  + an empty main() is now allowed in C, use a different function
+
+---

Old:

  post-build-checks-13.2+git20141007.c6e35c3.tar.xz

New:

  post-build-checks-13.2+git20150324.8993d63.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.vmuB1R/_old  2015-03-25 21:05:21.0 +0100
+++ /var/tmp/diff_new_pack.vmuB1R/_new  2015-03-25 21:05:21.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package post-build-checks
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 Summary:post checks for build after rpms have been created
 License:GPL-2.0+
 Group:  Development/Tools/Building
-Version:13.2+git20141007.c6e35c3
+Version:13.2+git20150324.8993d63
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck

++ _servicedata ++
--- /var/tmp/diff_new_pack.vmuB1R/_old  2015-03-25 21:05:21.0 +0100
+++ /var/tmp/diff_new_pack.vmuB1R/_new  2015-03-25 21:05:21.0 +0100
@@ -1,5 +1,5 @@
 
   
 git://github.com/openSUSE/post-build-checks.git
-  c6e35c3b68
+  8993d635a0a69cc381ae0b1aea03c5d88a9237ac
 
\ No newline at end of file

++ post-build-checks-13.2+git20141007.c6e35c3.tar.xz -> 
post-build-checks-13.2+git20150324.8993d63.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-13.2+git20141007.c6e35c3/tests/xx7.c 
new/post-build-checks-13.2+git20150324.8993d63/tests/xx7.c
--- old/post-build-checks-13.2+git20141007.c6e35c3/tests/xx7.c  2014-10-07 
19:00:19.0 +0200
+++ new/post-build-checks-13.2+git20150324.8993d63/tests/xx7.c  2015-03-24 
12:42:39.0 +0100
@@ -1,2 +1,2 @@
-int main(int argc, char **argv) {
+int f() {
 }

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2014-10-15 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2014-10-15 16:19:35

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2014-03-19 08:03:05.0 +0100
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2014-10-15 16:19:47.0 +0200
@@ -1,0 +2,6 @@
+Tue Oct  7 17:01:49 UTC 2014 - dmuel...@suse.com
+
+- Update to version 13.2+git20141007.c6e35c3:
+  + Fix check for skipping libgcc/libstdc++
+
+---

Old:

  post-build-checks-13.2+git20140318.f24deaf.tar.xz

New:

  _servicedata
  post-build-checks-13.2+git20141007.c6e35c3.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.RUs1yL/_old  2014-10-15 16:19:48.0 +0200
+++ /var/tmp/diff_new_pack.RUs1yL/_new  2014-10-15 16:19:48.0 +0200
@@ -20,7 +20,7 @@
 Summary:post checks for build after rpms have been created
 License:GPL-2.0+
 Group:  Development/Tools/Building
-Version:13.2+git20140318.f24deaf
+Version:13.2+git20141007.c6e35c3
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck

++ _service ++
--- /var/tmp/diff_new_pack.RUs1yL/_old  2014-10-15 16:19:48.0 +0200
+++ /var/tmp/diff_new_pack.RUs1yL/_new  2014-10-15 16:19:48.0 +0200
@@ -4,6 +4,9 @@
 13.2+git%cd.%h
 git://github.com/openSUSE/post-build-checks.git
 git
+.git
+.gitreview
+enable
   
   
 xz

++ _servicedata ++

  
git://github.com/openSUSE/post-build-checks.git
  c6e35c3b68
++ post-build-checks-13.2+git20140318.f24deaf.tar.xz -> 
post-build-checks-13.2+git20141007.c6e35c3.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-13.2+git20140318.f24deaf/checks/99-check-remove-rpms 
new/post-build-checks-13.2+git20141007.c6e35c3/checks/99-check-remove-rpms
--- old/post-build-checks-13.2+git20140318.f24deaf/checks/99-check-remove-rpms  
2014-03-18 11:36:56.0 +0100
+++ new/post-build-checks-13.2+git20141007.c6e35c3/checks/99-check-remove-rpms  
2014-10-07 19:00:19.0 +0200
@@ -62,7 +62,7 @@
continue
 }
 # Do not remove libgcc or libstdc++ variants
-case ${RPM} in
+case ${PKG} in
 libgcc*|libstdc++*)
;;
 *)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2014-03-19 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2014-03-19 08:03:04

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2014-02-28 16:21:28.0 +0100
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2014-03-19 08:03:05.0 +0100
@@ -1,0 +2,5 @@
+Tue Mar 18 10:38:54 UTC 2014 - r...@suse.com
+
+- also allow -MM additional to -MD to asssume were only generating deps
+
+---

Old:

  post-build-checks-13.2+git20140204.5b17faa.tar.xz

New:

  post-build-checks-13.2+git20140318.f24deaf.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.0TQazh/_old  2014-03-19 08:03:05.0 +0100
+++ /var/tmp/diff_new_pack.0TQazh/_new  2014-03-19 08:03:05.0 +0100
@@ -20,7 +20,7 @@
 Summary:post checks for build after rpms have been created
 License:GPL-2.0+
 Group:  Development/Tools/Building
-Version:13.2+git20140204.5b17faa
+Version:13.2+git20140318.f24deaf
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck

++ post-build-checks-13.2+git20140204.5b17faa.tar.xz -> 
post-build-checks-13.2+git20140318.f24deaf.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-13.2+git20140204.5b17faa/checks-data/check_gcc_output 
new/post-build-checks-13.2+git20140318.f24deaf/checks-data/check_gcc_output
--- old/post-build-checks-13.2+git20140204.5b17faa/checks-data/check_gcc_output 
2014-02-04 15:18:49.0 +0100
+++ new/post-build-checks-13.2+git20140318.f24deaf/checks-data/check_gcc_output 
2014-03-18 11:36:56.0 +0100
@@ -219,8 +219,8 @@
 my $iscompilerline = 0;
 if (/^(|.*[\s;\/]+)(gcc|cc|g\+\+) .*/i) {
 # avoid make dep lines...
-$iscompilerline = 1 if (! /(-E|-MD|-shared|gccmakedep)/);
-$iscompilerline = 1 if (/-MD/ && /\.o /); # -MD and object output
+$iscompilerline = 1 if (! /(-E|-MD|-MM|-shared|gccmakedep)/);
+$iscompilerline = 1 if (/(-MD|-MM)/ && /\.o /); # -MD or -MM and 
object output
 }
 # libtool needs some special love.
 $iscompilerline = 1 if (/libtool.*--mode=compile.*(gcc|cc|g\+\+)/i);

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2014-02-28 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2014-02-28 16:21:27

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2014-02-05 16:29:31.0 +0100
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2014-02-28 16:21:28.0 +0100
@@ -1,0 +2,5 @@
+Thu Feb 20 16:29:33 CET 2014 - r...@suse.de
+
+- test for existence before trying to modify /etc/sysconfig/clock 
+
+---



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.urlAc5/_old  2014-02-28 16:21:29.0 +0100
+++ /var/tmp/diff_new_pack.urlAc5/_new  2014-02-28 16:21:29.0 +0100
@@ -87,7 +87,9 @@
 exit 0
 fi
 sed -i -e "s@^PERMISSION_SECURITY=.*@PERMISSION_SECURITY=\"secure\"@" 
/etc/sysconfig/security
+if [ -f /etc/sysconfig/clock ] ; then
 sed -i -e "s@^TIMEZONE=.*@TIMEZONE=\"UTC\"@" /etc/sysconfig/clock
+fi
 UNAME=/bin/uname
 if test -f /usr/bin/uname ; then
 UNAME=/usr/bin/uname

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2014-02-05 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2014-02-05 16:29:29

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2014-02-02 07:43:49.0 +0100
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2014-02-05 16:29:31.0 +0100
@@ -1,0 +2,5 @@
+Tue Feb  4 14:19:50 UTC 2014 - r...@suse.com
+
+- do not remove libgcc or libstdc++ packages in install-check
+
+---

Old:

  post-build-checks-13.2+git20140131.590c07b.tar.xz

New:

  post-build-checks-13.2+git20140204.5b17faa.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.wRflOD/_old  2014-02-05 16:29:31.0 +0100
+++ /var/tmp/diff_new_pack.wRflOD/_new  2014-02-05 16:29:31.0 +0100
@@ -20,7 +20,7 @@
 Summary:post checks for build after rpms have been created
 License:GPL-2.0+
 Group:  Development/Tools/Building
-Version:13.2+git20140131.590c07b
+Version:13.2+git20140204.5b17faa
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck

++ post-build-checks-13.2+git20140131.590c07b.tar.xz -> 
post-build-checks-13.2+git20140204.5b17faa.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-13.2+git20140131.590c07b/checks/99-check-remove-rpms 
new/post-build-checks-13.2+git20140204.5b17faa/checks/99-check-remove-rpms
--- old/post-build-checks-13.2+git20140131.590c07b/checks/99-check-remove-rpms  
2014-01-31 15:24:53.0 +0100
+++ new/post-build-checks-13.2+git20140204.5b17faa/checks/99-check-remove-rpms  
2014-02-04 15:18:49.0 +0100
@@ -50,7 +50,10 @@
 PKG=${RPM##*/}
 PKG=${PKG%-*-*.*.rpm}
 PKG=${PKG%.rpm}
+# Do not remove installed packages
 test -e "$BUILD_ROOT/installed-pkg/$PKG" && continue
+# Nor packages differing in the shlib version like libreadline5 vs.
+# libreadline6
 PKG1=${PKG%[0-9]}[0-9]
 test -e $BUILD_ROOT/installed-pkg/$PKG1 && {
 N=`ls $BUILD_ROOT/installed-pkg/$PKG1`
@@ -58,7 +61,14 @@
echo "(keeping $PKG because of $N)"
continue
 }
-RPM_ERASE_LIST="$RPM_ERASE_LIST $PKG"
+# Do not remove libgcc or libstdc++ variants
+case ${RPM} in
+libgcc*|libstdc++*)
+   ;;
+*)
+   RPM_ERASE_LIST="$RPM_ERASE_LIST $PKG"
+   ;;
+esac
 done
 test -z "$REORDER_MISSED" || echo "(reorder missed ${REORDER_MISSED% })"
 if test -n "$RPM_ERASE_LIST" ; then

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2014-02-01 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2014-02-02 07:43:48

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2014-01-09 17:36:21.0 +0100
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2014-02-02 07:43:49.0 +0100
@@ -1,0 +2,13 @@
+Fri Jan 31 15:31:34 CET 2014 - r...@suse.de
+
+- adapt uname linking in specfile to /usr move (bnc#860600) 
+
+---
+Fri Jan 31 14:26:05 UTC 2014 - r...@suse.com
+
+- adapt uname.sh helper to 3.XX.Y kernel versioning scheme
+- obs removes dashes...
+- fix mktar to match service file
+- do not mount and umount /proc in checks - the build script handles that
+
+---

Old:

  post-build-checks-13.2+git20140109.507e5c2.tar.xz

New:

  post-build-checks-13.2+git20140131.590c07b.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.F7JlGf/_old  2014-02-02 07:43:50.0 +0100
+++ /var/tmp/diff_new_pack.F7JlGf/_new  2014-02-02 07:43:50.0 +0100
@@ -20,7 +20,7 @@
 Summary:post checks for build after rpms have been created
 License:GPL-2.0+
 Group:  Development/Tools/Building
-Version:13.2+git20140109.507e5c2
+Version:13.2+git20140131.590c07b
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck
@@ -88,17 +88,25 @@
 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
+UNAME=/bin/uname
+if test -f /usr/bin/uname ; then
+UNAME=/usr/bin/uname
+fi
+if test -f $UNAME -a ! -L $UNAME ; then
+mv $UNAME $UNAME.bin
+ln -s /usr/lib/build/helper/uname.sh $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
+UNAME=/bin/uname
+if test -f /usr/bin/uname.bin ; then
+UNAME=/usr/bin/uname
+fi
+if test "$1" = 0 -a -f $UNAME.bin ; then
+mv $UNAME.bin $UNAME
 fi
 
 %files

++ post-build-checks-13.2+git20140109.507e5c2.tar.xz -> 
post-build-checks-13.2+git20140131.590c07b.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-13.2+git20140109.507e5c2/helper/uname.sh 
new/post-build-checks-13.2+git20140131.590c07b/helper/uname.sh
--- old/post-build-checks-13.2+git20140109.507e5c2/helper/uname.sh  
2014-01-09 12:05:49.0 +0100
+++ new/post-build-checks-13.2+git20140131.590c07b/helper/uname.sh  
2014-01-31 15:24:53.0 +0100
@@ -29,7 +29,7 @@
 fi
 
 if test -n "$MREL" ; then
-echo $OUTPUT | sed -e "s/[0-9]\.[0-9]\.[0-9][-.0-9a-zA-Z_]*/$MREL/"
+echo $OUTPUT | sed -e "s/[0-9]\.[0-9]\+\.[0-9][-.0-9a-zA-Z_]*/$MREL/"
 else
 echo $OUTPUT
 fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-13.2+git20140109.507e5c2/obs/mkpackage 
new/post-build-checks-13.2+git20140131.590c07b/obs/mkpackage
--- old/post-build-checks-13.2+git20140109.507e5c2/obs/mkpackage
2014-01-09 12:05:49.0 +0100
+++ new/post-build-checks-13.2+git20140131.590c07b/obs/mkpackage
2014-01-31 15:24:53.0 +0100
@@ -22,12 +22,12 @@
 cd "$src"
 "$src"/obs/mkchanges "$name/$name".changes | tee "$name"/.changes
 #test ! -s $name/.changes || git push
-for i in *.bz2; do
+for i in *.xz; do
/bin/rm -vi "$i"
 done
 cd "$src"
 "$src"/obs/mktar
-mv *bz2 "$name"
+mv *xz "$name"
 cd "$name"
 osc vc "$name".changes .changes && rm -f .changes
 cd "$src"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/post-build-checks-13.2+git20140109.507e5c2/obs/mktar 
new/post-build-checks-13.2+git20140131.590c07b/obs/mktar
--- old/post-build-checks-13.2+git20140109.507e5c2/obs/mktar2014-01-09 
12:05:49.0 +0100
+++ new/post-build-checks-13.2+git20140131.590c07b/obs/mktar2014-01-31 
15:24:53.0 +0100
@@ -1,13 +1,10 @@
 #!/bin/sh
 set -e
 NAME=post-build-checks
-VERSION=1.0
-datefmt="%Y.%m.%d.%H%M"
-LAST_COMMIT=(`git rev-list --timestamp HEAD^..HEAD`)
-DATE=`date +$datefmt -d "1970-01-01 00:00 UTC $LAST_COMMIT seconds"`
-#scmver="$

commit post-build-checks for openSUSE:Factory

2014-01-09 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2014-01-09 17:36:19

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2014-01-08 20:08:22.0 +0100
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2014-01-09 17:36:21.0 +0100
@@ -1,0 +2,6 @@
+Thu Jan  9 11:06:05 UTC 2014 - co...@suse.com
+
+- the switching to services undid the mounting fix - without me
+  noticing. Now really pushed to the right git and redid tar
+
+---

Old:

  post-build-checks-13.2+git20131209.3ee7eba.tar.xz

New:

  post-build-checks-13.2+git20140109.507e5c2.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.RzBgvF/_old  2014-01-09 17:36:22.0 +0100
+++ /var/tmp/diff_new_pack.RzBgvF/_new  2014-01-09 17:36:22.0 +0100
@@ -20,7 +20,7 @@
 Summary:post checks for build after rpms have been created
 License:GPL-2.0+
 Group:  Development/Tools/Building
-Version:13.2+git20131209.3ee7eba
+Version:13.2+git20140109.507e5c2
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck

++ post-build-checks-13.2+git20131209.3ee7eba.tar.xz -> 
post-build-checks-13.2+git20140109.507e5c2.tar.xz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/post-build-checks-13.2+git20131209.3ee7eba/checks/06-check-installtest 
new/post-build-checks-13.2+git20140109.507e5c2/checks/06-check-installtest
--- old/post-build-checks-13.2+git20131209.3ee7eba/checks/06-check-installtest  
2014-01-07 21:07:52.0 +0100
+++ new/post-build-checks-13.2+git20140109.507e5c2/checks/06-check-installtest  
2014-01-09 12:05:49.0 +0100
@@ -4,21 +4,11 @@
 TOPDIR=/usr/src/packages
 test -d $BUILD_ROOT/.build.packages && TOPDIR=/.build.packages
 
-function umount_all () {
-test -n "$BUILD_ROOT" && {
-if test -f /proc/mounts ; then
-REAL_BR=$(cd $BUILD_ROOT; pwd -P)
-umount -n `sed -ne "s@.* \(${REAL_BR}/[^ ]*\) .*@\1@p" 
/proc/mounts` 2>/dev/null
-else
-find $BUILD_ROOT/* -depth -xdev -type d -print0 | xargs -0 
umount 2>/dev/null
-fi
-}
-}
-
 SCRIPT_ARG=-e
 
-# rpm needs /proc mounted
-mount -n -tproc none $BUILD_ROOT/proc
+# rpm needs /proc mounted - the build script handles that. just verify it did
+test -d $BUILD_ROOT/proc/sys || { echo "proc is not mounted"; exit 1; }
+
 export YAST_IS_RUNNING="instsys"
 for i in `find $BUILD_ROOT$TOPDIR/RPMS -name "*.rpm" | sort` ; do
 test -f $i || continue
@@ -31,13 +21,11 @@
 preun=`chroot $BUILD_ROOT rpm -qp --qf '%{PREUN}' ${i#$BUILD_ROOT}`
 postun=`chroot $BUILD_ROOT rpm -qp --qf '%{POSTUN}' ${i#$BUILD_ROOT}`
 test "$pre" = "(none)" -a "$post" = "(none)" -a "$preun" = "(none)" -a 
"$postun" = "(none)" && continue
-test -d $BUILD_ROOT/proc/sys || mount -n -tproc none $BUILD_ROOT/proc
 chroot $BUILD_ROOT rpm -Vp ${i#$BUILD_ROOT} > 
$BUILD_ROOT/.build_patchrpmcheck1
 if test "$pre" != "(none)" -a "$pre_p" != "" ; then
echo "$pre" > $BUILD_ROOT/.build_patchrpmcheck_scr
chroot $BUILD_ROOT sh $SCRIPT_ARG /.build_patchrpmcheck_scr 2 || {
echo "preinstall script of ${i##*/} failed"
-   umount_all
touch $BUILD_ROOT/not-ready
exit 1
}
@@ -46,7 +34,6 @@
echo "$post" > $BUILD_ROOT/.build_patchrpmcheck_scr
chroot $BUILD_ROOT sh $SCRIPT_ARG /.build_patchrpmcheck_scr 2 || {
echo "postinstall script of ${i##*/} failed"
-   umount_all
touch $BUILD_ROOT/not-ready
exit 1
}
@@ -55,7 +42,6 @@
echo "$preun" > $BUILD_ROOT/.build_patchrpmcheck_scr
chroot $BUILD_ROOT sh $SCRIPT_ARG /.build_patchrpmcheck_scr 1 || {
echo "preuninstall script of ${i##*/} failed"
-   umount_all
touch $BUILD_ROOT/not-ready
exit 1
}
@@ -64,13 +50,11 @@
echo "$postun" > $BUILD_ROOT/.build_patchrpmcheck_scr
chroot $BUILD_ROOT sh $SCRIPT_ARG /.build_patchrpmcheck_scr 1 || {
echo "postuninstall script of ${i##*/} failed"
-   umount_all
touch $BUILD_ROOT/not-ready
exit 1
}
 fi
 chroot $BUILD_ROOT rpm -Vp ${i#$BUILD_ROOT} > 
$BUILD_ROOT/.build_patchrpmcheck2
-umount_all
 

commit post-build-checks for openSUSE:Factory

2014-01-08 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2014-01-08 20:08:21

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2013-12-09 19:18:08.0 +0100
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2014-01-08 20:08:22.0 +0100
@@ -1,0 +2,10 @@
+Tue Jan  7 20:11:44 UTC 2014 - co...@suse.com
+
+- switch to _service file to avoid silent tar updates
+
+---
+Tue Jan  7 16:15:28 UTC 2014 - co...@suse.com
+
+- remove mounting and unmounting of /proc - build handles it
+
+---

Old:

  post-build-checks-1.0.tar.bz2

New:

  _service
  post-build-checks-13.2+git20131209.3ee7eba.tar.xz



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.ldmi6O/_old  2014-01-08 20:08:23.0 +0100
+++ /var/tmp/diff_new_pack.ldmi6O/_new  2014-01-08 20:08:23.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package post-build-checks
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -20,7 +20,7 @@
 Summary:post checks for build after rpms have been created
 License:GPL-2.0+
 Group:  Development/Tools/Building
-Version:1.0
+Version:13.2+git20131209.3ee7eba
 Release:0
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck
@@ -31,10 +31,9 @@
 # for inclusion in the git repo!
 #
 # git clone https://github.com/openSUSE/post-build-checks.git
-# cd post-build-checks
-# make package
+# osc service dr
 #
-Source0:%{name}-%{version}.tar.bz2
+Source0:%{name}-%{version}.tar.xz
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 

++ _service ++

  
13.2
13.2+git%cd.%h
git://github.com/openSUSE/post-build-checks.git
git
  
  
xz
*.tar
  
  

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2013-12-09 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2013-12-09 19:18:07

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2013-10-14 14:30:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2013-12-09 19:18:08.0 +0100
@@ -1,0 +2,10 @@
+Mon Dec  9 15:41:16 UTC 2013 - r...@suse.com
+
+- merge rest of quoting fixes from schwab
+
+---
+Mon Dec  9 14:54:26 UTC 2013 - r...@suse.com
+
+- fix quoting in libtool deps check
+
+---



Other differences:
--
++ post-build-checks-1.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/post-build-checks-1.0/checks/12-check-libtool-deps 
new/post-build-checks-1.0/checks/12-check-libtool-deps
--- old/post-build-checks-1.0/checks/12-check-libtool-deps  2013-10-11 
12:59:16.0 +0200
+++ new/post-build-checks-1.0/checks/12-check-libtool-deps  2013-12-09 
16:40:02.0 +0100
@@ -36,7 +36,7 @@
 function get_ld_library_path {
 local FILE
 local -a INCLUDES
-for FILE in $@ ; do
+for FILE in "$@"; do
if ! test -r "$BUILD_ROOT$FILE" ; then
continue
fi
@@ -50,8 +50,8 @@
done
exec 3<&-
 done
-for FILE in ${INCLUDES[@]} ; do
-   eval get_ld_library_path $FILE
+for FILE in "${INCLUDES[@]}" ; do
+   eval get_ld_library_path "$FILE"
 done
 }
 get_ld_library_path /etc/ld.so.conf
@@ -61,14 +61,14 @@
 # Assign file to RPM package.
 # assign_rpm file
 function assign_rpm {
-ASSIGN_RPM=$(chroot '$BUILD_ROOT' rpm --queryformat '%{NAME}\n' -qf $1)
+ASSIGN_RPM=$(chroot "$BUILD_ROOT" rpm --queryformat '%{NAME}\n' -qf "$1")
 }
 
 # Prepare for rpm_find_all_deps and clean after rpm_find_all_deps.
 # rpm_find_all_deps_reset
 function rpm_find_all_deps_reset {
 unset DUMMY ${!rpmsym_*}
-rm -f $BUILD_ROOT/tmp/all-requires $BUILD_ROOT/tmp/all-deps
+rm -f "$BUILD_ROOT"/tmp/all-requires "$BUILD_ROOT"/tmp/all-deps
 }
 
 # List all dependent packages exploring only explicit dependencies.
@@ -86,12 +86,11 @@
 SYMBOL_NAME=know_$SYMBOL_NAME
 eval "known=\$$SYMBOL_NAME"
 if test -z "$known"; then
-# the double quotes are necessary to retain the line endings
-known="$(chroot '$BUILD_ROOT' rpm -q --requires $1 2>/dev/null)"
+known=$(chroot "$BUILD_ROOT" rpm -q --requires $1 2>/dev/null)
 if test $? -gt 0 ; then
known=nonrpm
 fi
-   eval "$SYMBOL_NAME=\"$known\""
+   eval "$SYMBOL_NAME=\$known"
 fi
 if test "$known" = "nonrpm"; then
 return
@@ -107,9 +106,9 @@
SYMBOL_NAME=${SYMBOL_NAME//)/_CB_}
SYMBOL_NAME=${SYMBOL_NAME//[^A-Za-z0-9]/_X_}
SYMBOL_NAME=rpmsym_$SYMBOL_NAME
-   eval "if test -z \"\$$SYMBOL_NAME\" ; then
-   SYMBOLS[${#SYMBOLS[@]}]='$SYMBOL'
-   fi"
+   if eval test -z \"\$$SYMBOL_NAME\" ; then
+   SYMBOLS[${#SYMBOLS[@]}]=$SYMBOL
+   fi
eval "$SYMBOL_NAME=1"
 done <<<"$known"
 for SYMBOL in ${SYMBOLS[@]} ; do
@@ -124,7 +123,7 @@
 PACK=${PACK##$BUILD_ROOT}
 : > "$BUILD_ROOT/tmp/missings-$ASSIGN_RPM"
 LAST_RPM=
-for LA in $(chroot '$BUILD_ROOT' rpm -qlp $PACK | grep '.*/lib.*/.*\.la$') 
; do
+for LA in $(chroot "$BUILD_ROOT" rpm -qlp $PACK | grep '.*/lib.*/.*\.la$') 
; do
LOCAL_LIBRARY_PATH=$BUILD_LD_LIBRARY_PATH
assign_rpm $LA
RPM=$ASSIGN_RPM
@@ -133,8 +132,8 @@
rpm_find_all_deps $RPM >"$BUILD_ROOT/tmp/all-deps"
LAST_RPM=$RPM
fi
-   test "$(source $BUILD_ROOT$LA; echo $shouldnotlink)" = yes && continue
-   for LIB in $(source $BUILD_ROOT$LA ; echo "$dependency_libs") ; do
+   test "$(source "$BUILD_ROOT$LA"; echo "$shouldnotlink")" = yes && 
continue
+   for LIB in $(source "$BUILD_ROOT$LA" ; echo "$dependency_libs") ; do
case $LIB in
-L* )
LOCAL_LIBRARY_PATH="$LOCAL_LIBRARY_PATH ${LIB#-L}"
@@ -143,11 +142,11 @@
-l* )
DEPLIB=
for DIR in $LOCAL_LIBRARY_PATH ; do
-   if test -f $BUILD_ROOT$DIR/lib${LIB#-l}.so ; then
+   if test -f "$BUILD_ROOT$DIR/lib${LIB#-l}.so" ; then
DEPLIB=$DIR/lib${LIB#-l}.so
bre

commit post-build-checks for openSUSE:Factory

2013-10-14 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2013-10-14 14:30:07

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2012-12-14 10:41:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2013-10-14 14:30:09.0 +0200
@@ -1,0 +2,6 @@
+Fri Oct 11 10:59:20 UTC 2013 - co...@suse.com
+
+- make use of the same findfileconflicts as the one repo-checker uses
+- switched repo location to github
+
+---



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.aMnA7X/_old  2013-10-14 14:30:10.0 +0200
+++ /var/tmp/diff_new_pack.aMnA7X/_new  2013-10-14 14:30:10.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package post-build-checks
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -25,12 +25,12 @@
 PreReq: aaa_base permissions sed
 Requires:   aaa_base-malloccheck
 Requires:   gawk
-Url:http://gitorious.org/opensuse/post-build-checks
+Url:https://github.com/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
+# git clone https://github.com/openSUSE/post-build-checks.git
 # cd post-build-checks
 # make package
 #

++ post-build-checks-1.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/post-build-checks-1.0/checks/09-check-packaged-twice 
new/post-build-checks-1.0/checks/09-check-packaged-twice
--- old/post-build-checks-1.0/checks/09-check-packaged-twice2012-11-14 
01:32:59.0 +0100
+++ new/post-build-checks-1.0/checks/09-check-packaged-twice2013-10-11 
12:59:16.0 +0200
@@ -10,92 +10,15 @@
 my $TOPDIR = '/usr/src/packages';
 $TOPDIR = '/.build.packages' if -d "$build_root/.build.packages";
 
-sub conflicts {
-my ($rpm1, $rpm2) = @_;
-open (F, "chroot $build_root rpm -qp --qf '[%{CONFLICTNAME} 
%{CONFLICTFLAGS} %{CONFLICTVERSION}\n]' $rpm1|");
-my @conflicts = ;
-close F;
-chomp @conflicts;
-return 0 unless @conflicts;
-open (F, "chroot $build_root rpm -qp --qf '[%{PROVIDENAME} %{PROVIDEFLAGS} 
%{PROVIDEVERSION}\n]' $rpm2|");
-my @provides = ;
-close F;
-for my $c (@conflicts) {
-my @cc = split(' ', $c, 3);
-$cc[0] =~ s/^otherproviders\((.*)\)$/$1/;
-for my $p (@provides) {
-my @pp = split(' ', $p, 3);
-next unless $cc[0] eq $pp[0];
-# add complex logic here if needed
-return 1;
-}
-}
-return 0;
+local(*OUTPUT, $/);
+open (OUTPUT, "chroot '$build_root' /bin/bash -c 'find $TOPDIR/RPMS/ -name 
\"*.rpm\" | grep -v -- -debuginfo | grep -v -- -debugsource | perl 
/usr/lib/build/checks-data/findfileconflicts --manifest -q -' 2>&1 |");
+my $output = ;
+close(OUTPUT);
+
+if ($output) {
+  print $output . "\n";
+  exit 1;
 }
 
-open (ALL_RPMS, "chroot $build_root find $TOPDIR/RPMS/ -name \"*.rpm\" |");
-my @rpms = ;
-chomp @rpms;
-close ALL_RPMS;
+exit 0;
 
-exit 0 if @rpms < 2;
-
-my %allfiles;
-my %alldirs;
-my %pkg2rpm;
-
-system("mount -n -tproc none $build_root/proc");
-for my $rpm (@rpms) {
-next if ($rpm =~ m/-debuginfo/ || $rpm =~ m/-debugsource/);
-open (FILES, "chroot $build_root rpm -qp --qf '[%{FILEMODES:perms} 
F:%{FILEFLAGS:fflags} %{NAME} %{FILEUSERNAME}:%{FILEGROUPNAME} %{FILENAMES}\n]' 
$rpm|");
-my @files = ;
-chomp @files;
-close FILES;
-# ignore empty rpm as rpmlint will catch them
-@files = grep {!/^\(none\)/} @files;
-for my $file (@files) {
-next unless $file =~ /^(\S+) F:(\S*) (\S+) (\S+:\S+) (.*)$/;
-my $filemodes = $1;
-my $fflags = $2;
-my $pkgname = $3;
-my $owner = $4;
-my $filename = $5;
-if ($filemodes =~ /^d/) {
-  $alldirs{$filename}->{$pkgname} = "$fflags:$owner";
-} else {
-  $allfiles{$filename}->{$pkgname} = $fflags;
-}
-$pkg2rpm{$pkgname} = $rpm;
-}
-}
-
-for my $dir (keys %alldirs) {
-   my @pkgs = keys %{$alldirs{$dir}};
-   next if @pkgs < 2;
-   my $p1 = shift @pkgs

commit post-build-checks for openSUSE:Factory

2012-12-14 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2012-12-14 10:41:19

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks", Maintainer is "r...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2012-11-14 16:52:55.0 +0100
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2012-12-14 10:41:20.0 +0100
@@ -1,0 +2,5 @@
+Mon Dec 10 14:00:50 UTC 2012 - co...@suse.com
+
+- buildrequire malloc check
+
+---



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.cKthvX/_old  2012-12-14 10:41:22.0 +0100
+++ /var/tmp/diff_new_pack.cKthvX/_new  2012-12-14 10:41:22.0 +0100
@@ -23,6 +23,7 @@
 Version:1.0
 Release:0
 PreReq: aaa_base permissions sed
+Requires:   aaa_base-malloccheck
 Requires:   gawk
 Url:http://gitorious.org/opensuse/post-build-checks
 #

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2012-11-14 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2012-11-14 16:52:54

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks", Maintainer is "r...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2012-10-29 20:12:09.0 +0100
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2012-11-14 16:52:55.0 +0100
@@ -1,0 +2,5 @@
+Wed Nov 14 00:34:25 UTC 2012 - r...@suse.com
+
+- Remove timestamp prefix in check_gcc_output (thanks to schwab)
+
+---



Other differences:
--
++ post-build-checks-1.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/post-build-checks-1.0/checks-data/check_gcc_output 
new/post-build-checks-1.0/checks-data/check_gcc_output
--- old/post-build-checks-1.0/checks-data/check_gcc_output  2012-10-04 
14:31:41.0 +0200
+++ new/post-build-checks-1.0/checks-data/check_gcc_output  2012-11-14 
01:32:59.0 +0100
@@ -198,6 +198,7 @@
 while (<>) {
 chomp;
 s,  +, ,g;
+s/^\[ *\d+s\] //;
 next if (m,/usr/include/c\+\+/,);
 
 $in_build_stage = 1 if (/^Executing\(\%build/);

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2012-10-29 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2012-10-29 20:10:06

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks", Maintainer is "r...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2012-10-06 18:42:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2012-10-29 20:12:09.0 +0100
@@ -1,0 +2,5 @@
+Sat Oct 27 18:30:38 UTC 2012 - co...@suse.com
+
+- the scripts call awk, so we need to require it
+
+---



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.zp4kJs/_old  2012-10-29 20:13:10.0 +0100
+++ /var/tmp/diff_new_pack.zp4kJs/_new  2012-10-29 20:13:10.0 +0100
@@ -23,6 +23,7 @@
 Version:1.0
 Release:0
 PreReq: aaa_base permissions sed
+Requires:   gawk
 Url:http://gitorious.org/opensuse/post-build-checks
 #
 # Note: don't rebuild this manually. Instead submit your patches

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2012-10-06 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2012-10-05 13:47:25

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks", Maintainer is "r...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2012-09-23 21:10:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2012-10-06 18:42:04.0 +0200
@@ -1,0 +2,6 @@
+Thu Oct  4 12:32:06 UTC 2012 - dmuel...@suse.com
+
+- merge /proc mount/umounting patch from AJ
+- add _service file to easily recreate the tarball from git
+
+---



Other differences:
--
++ post-build-checks-1.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/post-build-checks-1.0/checks/06-check-installtest 
new/post-build-checks-1.0/checks/06-check-installtest
--- old/post-build-checks-1.0/checks/06-check-installtest   2012-09-23 
11:37:14.0 +0200
+++ new/post-build-checks-1.0/checks/06-check-installtest   2012-10-04 
14:31:41.0 +0200
@@ -17,6 +17,8 @@
 
 SCRIPT_ARG=-e
 
+# rpm needs /proc mounted
+mount -n -tproc none $BUILD_ROOT/proc
 export YAST_IS_RUNNING="instsys"
 for i in `find $BUILD_ROOT$TOPDIR/RPMS -name "*.rpm" | sort` ; do
 test -f $i || continue
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/post-build-checks-1.0/checks/09-check-packaged-twice 
new/post-build-checks-1.0/checks/09-check-packaged-twice
--- old/post-build-checks-1.0/checks/09-check-packaged-twice2012-09-23 
11:37:14.0 +0200
+++ new/post-build-checks-1.0/checks/09-check-packaged-twice2012-10-04 
14:31:41.0 +0200
@@ -44,6 +44,7 @@
 my %alldirs;
 my %pkg2rpm;
 
+system("mount -n -tproc none $build_root/proc");
 for my $rpm (@rpms) {
 next if ($rpm =~ m/-debuginfo/ || $rpm =~ m/-debugsource/);
 open (FILES, "chroot $build_root rpm -qp --qf '[%{FILEMODES:perms} 
F:%{FILEFLAGS:fflags} %{NAME} %{FILEUSERNAME}:%{FILEGROUPNAME} %{FILENAMES}\n]' 
$rpm|");
@@ -60,7 +61,7 @@
 my $owner = $4;
 my $filename = $5;
 if ($filemodes =~ /^d/) {
-  $alldirs{$filename}->{$pkgname} = $fflags . $owner;
+  $alldirs{$filename}->{$pkgname} = "$fflags:$owner";
 } else {
   $allfiles{$filename}->{$pkgname} = $fflags;
 }
@@ -96,4 +97,5 @@
 }
 }
 
+system("umount $build_root/proc");
 exit $had_errors;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/post-build-checks-1.0/checks/12-check-libtool-deps 
new/post-build-checks-1.0/checks/12-check-libtool-deps
--- old/post-build-checks-1.0/checks/12-check-libtool-deps  2012-09-23 
11:37:14.0 +0200
+++ new/post-build-checks-1.0/checks/12-check-libtool-deps  2012-10-04 
14:31:41.0 +0200
@@ -193,6 +193,8 @@
 fi
 echo "(can be skipped by \"skip-check-libtool-deps\" anywhere in spec)"
 
+mount -n -tproc none $BUILD_ROOT/proc
+
 shopt -s nullglob
 IFS=$IFS":,"
 
@@ -201,6 +203,7 @@
 done
 rpm_find_all_deps_reset
 
+umount $BUILD_ROOT/proc
 
 if test $RC -gt 0 ; then
 echo "All errors are just warnings for now.

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2012-09-23 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2012-09-23 21:10:07

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks", Maintainer is "r...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2012-09-20 15:48:34.0 +0200
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2012-09-23 21:10:23.0 +0200
@@ -1,0 +2,6 @@
+Sun Sep 23 09:37:34 UTC 2012 - co...@suse.com
+
+- change the permissions check to use chkstat directly,
+  possibly this check outdated itself though
+
+---



Other differences:
--
++ post-build-checks-1.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/post-build-checks-1.0/checks/08-check-permissions 
new/post-build-checks-1.0/checks/08-check-permissions
--- old/post-build-checks-1.0/checks/08-check-permissions   2012-09-17 
16:41:44.0 +0200
+++ new/post-build-checks-1.0/checks/08-check-permissions   2012-09-23 
11:37:14.0 +0200
@@ -17,16 +17,16 @@
$BUILD_ROOT/etc/sysconfig/security > 
$BUILD_ROOT/etc/sysconfig/security.tmp
 mv $BUILD_ROOT/etc/sysconfig/security 
$BUILD_ROOT/etc/sysconfig/security.bak
 mv $BUILD_ROOT/etc/sysconfig/security.tmp 
$BUILD_ROOT/etc/sysconfig/security
-chroot $BUILD_ROOT /sbin/SuSEconfig --module permissions >/dev/null 2>&1
+chroot $BUILD_ROOT /usr/bin/chkstat --system >/dev/null 2>&1
 chroot $BUILD_ROOT rpm -Vp ${i#$BUILD_ROOT} > 
$BUILD_ROOT/.build_patchrpmcheck2
 mv $BUILD_ROOT/etc/sysconfig/security.bak 
$BUILD_ROOT/etc/sysconfig/security
-chroot $BUILD_ROOT /sbin/SuSEconfig --module permissions >/dev/null 2>&1
+chroot $BUILD_ROOT /usr/bin/chkstat --system >/dev/null 2>&1
 
 umount -n $BUILD_ROOT/proc
 if ! cmp -s $BUILD_ROOT/.build_patchrpmcheck1 
$BUILD_ROOT/.build_patchrpmcheck2; then
echo 
""
echo "package: $NAME"
-   echo "SuSEconfig.permissions modified files that are not properly 
handled!"
+   echo "/usr/bin/chkstat modified files that are not properly handled!"
echo "this will break rpm -V, ask ro for details."
echo "diff for both runs of rpm -V:"
diff -u $BUILD_ROOT/.build_patchrpmcheck1 
$BUILD_ROOT/.build_patchrpmcheck2 | tail -n+4 | grep -v '^ '

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2012-09-20 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2012-09-20 15:48:20

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks", Maintainer is "r...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2012-06-26 20:03:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2012-09-20 15:48:34.0 +0200
@@ -1,0 +2,6 @@
+Mon Sep 17 14:42:44 UTC 2012 - co...@suse.com
+
+- with rpm 4.10, two packages packaging the same directory with
+  different owners is a bug - so catch it early
+
+---



Other differences:
--
++ post-build-checks-1.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/post-build-checks-1.0/checks/09-check-packaged-twice 
new/post-build-checks-1.0/checks/09-check-packaged-twice
--- old/post-build-checks-1.0/checks/09-check-packaged-twice2012-06-26 
16:21:35.0 +0200
+++ new/post-build-checks-1.0/checks/09-check-packaged-twice2012-09-17 
16:41:44.0 +0200
@@ -3,6 +3,7 @@
 # it is an error if such a file exists but the packages do not conflict
 #
 use strict;
+use Data::Dumper;
 my $had_errors = 0;
 my $build_root = $::ENV{BUILD_ROOT} || '/';
 
@@ -40,25 +41,47 @@
 exit 0 if @rpms < 2;
 
 my %allfiles;
+my %alldirs;
 my %pkg2rpm;
 
 for my $rpm (@rpms) {
 next if ($rpm =~ m/-debuginfo/ || $rpm =~ m/-debugsource/);
-open (FILES, "chroot $build_root rpm -qp --qf '[%{FILEMODES:perms} 
F:%{FILEFLAGS:fflags} %{NAME} %{FILENAMES}\n]' $rpm|");
+open (FILES, "chroot $build_root rpm -qp --qf '[%{FILEMODES:perms} 
F:%{FILEFLAGS:fflags} %{NAME} %{FILEUSERNAME}:%{FILEGROUPNAME} %{FILENAMES}\n]' 
$rpm|");
 my @files = ;
 chomp @files;
 close FILES;
 # ignore empty rpm as rpmlint will catch them
 @files = grep {!/^\(none\)/} @files;
-# ignore dirs
-@files = grep {!/^d/} @files;
 for my $file (@files) {
-next unless $file =~ /^\S+ F:(\S*) (\S+) (.*)$/;
-$allfiles{$3}->{$2} = $1;
-$pkg2rpm{$2} = $rpm;
+next unless $file =~ /^(\S+) F:(\S*) (\S+) (\S+:\S+) (.*)$/;
+my $filemodes = $1;
+my $fflags = $2;
+my $pkgname = $3;
+my $owner = $4;
+my $filename = $5;
+if ($filemodes =~ /^d/) {
+  $alldirs{$filename}->{$pkgname} = $fflags . $owner;
+} else {
+  $allfiles{$filename}->{$pkgname} = $fflags;
+}
+$pkg2rpm{$pkgname} = $rpm;
 }
 }
 
+for my $dir (keys %alldirs) {
+   my @pkgs = keys %{$alldirs{$dir}};
+   next if @pkgs < 2;
+   my $p1 = shift @pkgs;
+   foreach my $pkg (@pkgs) {
+ if ($alldirs{$dir}->{$p1} ne $alldirs{$dir}->{$pkg}) {
+   my $o1 = $alldirs{$dir}->{$p1};
+   my $o2 = $alldirs{$dir}->{$pkg};
+   print "ERROR: directory $dir is packaged in two different subpackages 
with different owners $p1($o1) vs $pkg($o2)\n";
+   $had_errors = 1;
+ }
+   }
+}
+
 for my $file (keys %allfiles) {
 my @pkgs = keys %{$allfiles{$file}};
 next if @pkgs < 2;

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2012-06-05 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2012-06-05 15:34:32

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks", Maintainer is "r...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2012-05-29 10:34:48.0 +0200
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2012-06-05 15:34:34.0 +0200
@@ -1,0 +2,6 @@
+Mon Jun  4 10:14:34 UTC 2012 - co...@suse.com
+
+- ld.so is basically empty nowadays, so put together a config file
+  just to ignore rpaths
+
+---

New:

  ignore-ldso.conf.patch



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.7IFBJv/_old  2012-06-05 15:34:38.0 +0200
+++ /var/tmp/diff_new_pack.7IFBJv/_new  2012-06-05 15:34:38.0 +0200
@@ -35,6 +35,7 @@
 Source0:%{name}-%{version}.tar.bz2
 Patch0: new.diff
 Patch1: strim-whitespace.diff
+Patch2: ignore-ldso.conf.patch
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -53,6 +54,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 # nothing to do
@@ -67,6 +69,14 @@
 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*
 
+( echo %_libdir 
+  echo /usr/local/%_lib
+  echo %_lib
+  echo %_libdir/Xaw3d
+  echo /usr/x86_64-suse-linux/lib
+  echo /opt/kde3/%_lib
+)  > $RPM_BUILD_ROOT/etc/suse-ignored-rpaths.conf
+
 %check
 for i in tests/xx*.c
 do
@@ -101,5 +111,6 @@
 %doc COPYING
 /usr/lib/build
 /etc/profile.d/suse-buildsystem.sh
+/etc/suse-ignored-rpaths.conf
 
 %changelog

++ ignore-ldso.conf.patch ++
Index: post-build-checks-1.0/suse-buildsystem.sh
===
--- post-build-checks-1.0.orig/suse-buildsystem.sh  2011-10-20 
11:57:54.0 +0200
+++ post-build-checks-1.0/suse-buildsystem.sh   2012-06-04 12:07:23.597872870 
+0200
@@ -1,3 +1,3 @@
-export SUSE_IGNORED_RPATHS=/etc/ld.so.conf
+export SUSE_IGNORED_RPATHS=/etc/suse-ignored-rpaths.conf
 export SUSE_ASNEEDED=1
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2012-05-29 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2012-05-29 10:34:46

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks", Maintainer is "r...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2011-12-21 10:03:08.0 +0100
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2012-05-29 10:34:48.0 +0200
@@ -1,0 +2,7 @@
+Mon May 28 08:18:18 UTC 2012 - co...@suse.com
+
+- strim white space in check_gcc_output - this reduces the time
+  to check an openSUSE-images log file (38M mostly whitespace due
+  to zypper output) from several hours to some seconds
+
+---

New:

  strim-whitespace.diff



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.q1wrb8/_old  2012-05-29 10:34:49.0 +0200
+++ /var/tmp/diff_new_pack.q1wrb8/_new  2012-05-29 10:34:49.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package post-build-checks
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -34,6 +34,7 @@
 #
 Source0:%{name}-%{version}.tar.bz2
 Patch0: new.diff
+Patch1: strim-whitespace.diff
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -51,6 +52,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 # nothing to do

++ strim-whitespace.diff ++
Index: post-build-checks-1.0/checks-data/check_gcc_output
===
--- post-build-checks-1.0.orig/checks-data/check_gcc_output 2011-10-20 
11:57:54.0 +0200
+++ post-build-checks-1.0/checks-data/check_gcc_output  2012-05-28 
10:17:58.937350253 +0200
@@ -197,6 +197,7 @@ my $in_build_stage = 0;
 
 while (<>) {
 chomp;
+s,  +, ,g;
 next if (m,/usr/include/c\+\+/,);
 
 $in_build_stage = 1 if (/^Executing\(\%build/);
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2011-12-21 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2011-12-21 10:03:07

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks", Maintainer is "r...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2011-12-07 14:39:19.0 +0100
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2011-12-21 10:03:08.0 +0100
@@ -1,0 +2,6 @@
+Tue Dec 20 10:14:40 UTC 2011 - wer...@suse.de
+
+- ignore empty rpm as in 09-check-packaged-twice as those will be
+  detected by rpmlint rules with a clear message 
+
+---



Other differences:
--
++ new.diff ++
--- /var/tmp/diff_new_pack.NaTpDZ/_old  2011-12-21 10:03:09.0 +0100
+++ /var/tmp/diff_new_pack.NaTpDZ/_new  2011-12-21 10:03:09.0 +0100
@@ -1,8 +1,8 @@
 Index: post-build-checks-1.0/checks/09-check-packaged-twice
 ===
 --- post-build-checks-1.0.orig/checks/09-check-packaged-twice  2011-10-20 
11:57:54.0 +0200
-+++ post-build-checks-1.0/checks/09-check-packaged-twice   2011-12-07 
10:59:53.350691785 +0100
-@@ -1,61 +1,74 @@
 post-build-checks-1.0/checks/09-check-packaged-twice   2011-12-20 
10:12:34.056044906 +
+@@ -1,61 +1,76 @@
 -#!/usr/bin/perl
 +#!/usr/bin/perl -w
  # search for files packaged more than once
@@ -64,6 +64,8 @@
 +my @files = ;
 +chomp @files;
 +close FILES;
++# ignore empty rpm as rpmlint will catch them
++@files = grep {!/^\(none\)/} @files;
 +# ignore dirs
 +@files = grep {!/^d/} @files;
 +for my $file (@files) {

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2011-12-07 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2011-12-07 14:39:17

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks", Maintainer is "r...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2011-12-01 17:39:52.0 +0100
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2011-12-07 14:39:19.0 +0100
@@ -1,0 +2,5 @@
+Wed Dec  7 10:00:08 UTC 2011 - co...@suse.com
+
+- ignore debuginfo and debugsource packages for packaged-twice
+
+---



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.EDEws3/_old  2011-12-07 14:39:23.0 +0100
+++ /var/tmp/diff_new_pack.EDEws3/_new  2011-12-07 14:39:23.0 +0100
@@ -15,10 +15,11 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   post-build-checks
+Summary:post checks for build after rpms have been created
 License:GPL-2.0+
 Group:  Development/Tools/Building
-Summary:post checks for build after rpms have been created
 Version:1.0
 Release:0
 PreReq: aaa_base permissions sed

++ new.diff ++
--- /var/tmp/diff_new_pack.EDEws3/_old  2011-12-07 14:39:23.0 +0100
+++ /var/tmp/diff_new_pack.EDEws3/_new  2011-12-07 14:39:23.0 +0100
@@ -1,7 +1,7 @@
 Index: post-build-checks-1.0/checks/09-check-packaged-twice
 ===
 --- post-build-checks-1.0.orig/checks/09-check-packaged-twice  2011-10-20 
11:57:54.0 +0200
-+++ post-build-checks-1.0/checks/09-check-packaged-twice   2011-12-01 
17:36:22.894836849 +0100
 post-build-checks-1.0/checks/09-check-packaged-twice   2011-12-07 
10:59:53.350691785 +0100
 @@ -1,61 +1,74 @@
 -#!/usr/bin/perl
 +#!/usr/bin/perl -w
@@ -48,7 +48,6 @@
  
 -if ( $#RPMS < 1 ) {
 -exit 0;
-+print "chroot $build_root find $TOPDIR/RPMS -name \"*.rpm\"\n";
 +open (ALL_RPMS, "chroot $build_root find $TOPDIR/RPMS/ -name \"*.rpm\" |");
 +my @rpms = ;
 +chomp @rpms;
@@ -60,6 +59,7 @@
 +my %pkg2rpm;
 +
 +for my $rpm (@rpms) {
++next if ($rpm =~ m/-debuginfo/ || $rpm =~ m/-debugsource/);
 +open (FILES, "chroot $build_root rpm -qp --qf '[%{FILEMODES:perms} 
F:%{FILEFLAGS:fflags} %{NAME} %{FILENAMES}\n]' $rpm|");
 +my @files = ;
 +chomp @files;

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2011-12-01 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2011-12-01 17:39:51

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks", Maintainer is "r...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2011-11-28 13:37:57.0 +0100
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2011-12-01 17:39:52.0 +0100
@@ -1,0 +2,5 @@
+Thu Dec  1 16:36:29 UTC 2011 - co...@suse.com
+
+- fix usage of perl's index()
+
+---



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.NXfhUB/_old  2011-12-01 17:39:53.0 +0100
+++ /var/tmp/diff_new_pack.NXfhUB/_new  2011-12-01 17:39:53.0 +0100
@@ -15,16 +15,12 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
-
 Name:   post-build-checks
-License:GPLv2+
+License:GPL-2.0+
 Group:  Development/Tools/Building
-AutoReqProv:on
 Summary:post checks for build after rpms have been created
 Version:1.0
-Release:95
+Release:0
 PreReq: aaa_base permissions sed
 Url:http://gitorious.org/opensuse/post-build-checks
 #

++ new.diff ++
--- /var/tmp/diff_new_pack.NXfhUB/_old  2011-12-01 17:39:53.0 +0100
+++ /var/tmp/diff_new_pack.NXfhUB/_new  2011-12-01 17:39:53.0 +0100
@@ -1,7 +1,7 @@
 Index: post-build-checks-1.0/checks/09-check-packaged-twice
 ===
 --- post-build-checks-1.0.orig/checks/09-check-packaged-twice  2011-10-20 
11:57:54.0 +0200
-+++ post-build-checks-1.0/checks/09-check-packaged-twice   2011-11-28 
12:46:09.048680204 +0100
 post-build-checks-1.0/checks/09-check-packaged-twice   2011-12-01 
17:36:22.894836849 +0100
 @@ -1,61 +1,74 @@
 -#!/usr/bin/perl
 +#!/usr/bin/perl -w
@@ -48,7 +48,8 @@
  
 -if ( $#RPMS < 1 ) {
 -exit 0;
-+open (ALL_RPMS, "find $build_root$TOPDIR/RPMS -name \"*.rpm\" |");
++print "chroot $build_root find $TOPDIR/RPMS -name \"*.rpm\"\n";
++open (ALL_RPMS, "chroot $build_root find $TOPDIR/RPMS/ -name \"*.rpm\" |");
 +my @rpms = ;
 +chomp @rpms;
 +close ALL_RPMS;
@@ -59,7 +60,6 @@
 +my %pkg2rpm;
 +
 +for my $rpm (@rpms) {
-+$rpm =~ s/^$build_root//;
 +open (FILES, "chroot $build_root rpm -qp --qf '[%{FILEMODES:perms} 
F:%{FILEFLAGS:fflags} %{NAME} %{FILENAMES}\n]' $rpm|");
 +my @files = ;
 +chomp @files;
@@ -108,7 +108,7 @@
 +while (@pkgs) {
 +my $p1 = shift @pkgs;
 +  for my $p2 (@pkgs) {
-+  next if (index('g', $allfiles{$file}->{$p1}) != -1) && (index('g', 
$allfiles{$file}->{$p2}) != -1);
++  next if (index($allfiles{$file}->{$p1}, 'g') != -1) && 
(index($allfiles{$file}->{$p2}, 'g') != -1);
 +  next if conflicts($pkg2rpm{$p1}, $pkg2rpm{$p2}) || 
conflicts($pkg2rpm{$p2}, $pkg2rpm{$p1});
 +  print "ERROR: $file is packaged in both $p1 and $p2, and the 
packages do not conflict\n";
 +  $had_errors = 1;

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2011-11-28 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2011-11-28 13:37:53

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks", Maintainer is "r...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2011-11-26 08:28:39.0 +0100
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2011-11-28 13:37:57.0 +0100
@@ -1,0 +2,5 @@
+Mon Nov 28 11:46:44 UTC 2011 - co...@suse.com
+
+- ignore files that are %ghost in both packages
+
+---



Other differences:
--
++ new.diff ++
--- /var/tmp/diff_new_pack.LVCUWY/_old  2011-11-28 13:37:58.0 +0100
+++ /var/tmp/diff_new_pack.LVCUWY/_new  2011-11-28 13:37:58.0 +0100
@@ -1,8 +1,8 @@
 Index: post-build-checks-1.0/checks/09-check-packaged-twice
 ===
 --- post-build-checks-1.0.orig/checks/09-check-packaged-twice  2011-10-20 
11:57:54.0 +0200
-+++ post-build-checks-1.0/checks/09-check-packaged-twice   2011-11-25 
19:07:11.509942810 +0100
-@@ -1,61 +1,73 @@
 post-build-checks-1.0/checks/09-check-packaged-twice   2011-11-28 
12:46:09.048680204 +0100
+@@ -1,61 +1,74 @@
 -#!/usr/bin/perl
 +#!/usr/bin/perl -w
  # search for files packaged more than once
@@ -60,16 +60,16 @@
 +
 +for my $rpm (@rpms) {
 +$rpm =~ s/^$build_root//;
-+open (FILES, "chroot $build_root rpm -qp --qf '[%{FILEMODES:perms} 
%{NAME} %{FILENAMES}\n]' $rpm|");
++open (FILES, "chroot $build_root rpm -qp --qf '[%{FILEMODES:perms} 
F:%{FILEFLAGS:fflags} %{NAME} %{FILENAMES}\n]' $rpm|");
 +my @files = ;
 +chomp @files;
 +close FILES;
 +# ignore dirs
 +@files = grep {!/^d/} @files;
 +for my $file (@files) {
-+next unless $file =~ /^\S+ (\S+) (.*)$/;
-+$allfiles{$2}->{$1} = 1;
-+$pkg2rpm{$1} = $rpm;
++next unless $file =~ /^\S+ F:(\S*) (\S+) (.*)$/;
++$allfiles{$3}->{$2} = $1;
++$pkg2rpm{$2} = $rpm;
 +}
  }
  
@@ -108,6 +108,7 @@
 +while (@pkgs) {
 +my $p1 = shift @pkgs;
 +  for my $p2 (@pkgs) {
++  next if (index('g', $allfiles{$file}->{$p1}) != -1) && (index('g', 
$allfiles{$file}->{$p2}) != -1);
 +  next if conflicts($pkg2rpm{$p1}, $pkg2rpm{$p2}) || 
conflicts($pkg2rpm{$p2}, $pkg2rpm{$p1});
 +  print "ERROR: $file is packaged in both $p1 and $p2, and the 
packages do not conflict\n";
 +  $had_errors = 1;

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2011-11-25 Thread h_root
Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory checked in at 2011-11-26 08:28:13

Comparing /work/SRC/openSUSE:Factory/post-build-checks (Old)
 and  /work/SRC/openSUSE:Factory/.post-build-checks.new (New)


Package is "post-build-checks", Maintainer is "r...@suse.com"

Changes:

--- /work/SRC/openSUSE:Factory/post-build-checks/post-build-checks.changes  
2011-10-21 16:34:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.post-build-checks.new/post-build-checks.changes 
2011-11-26 08:28:39.0 +0100
@@ -1,0 +2,5 @@
+Fri Nov 25 21:59:53 UTC 2011 - co...@suse.com
+
+- make "packaged twice" fatal if packages do not conflict
+
+---

New:

  new.diff



Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.ZhfVC1/_old  2011-11-26 08:28:41.0 +0100
+++ /var/tmp/diff_new_pack.ZhfVC1/_new  2011-11-26 08:28:41.0 +0100
@@ -36,6 +36,7 @@
 # make package
 #
 Source0:%{name}-%{version}.tar.bz2
+Patch0: new.diff
 BuildArch:  noarch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -52,6 +53,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 # nothing to do

++ new.diff ++
Index: post-build-checks-1.0/checks/09-check-packaged-twice
===
--- post-build-checks-1.0.orig/checks/09-check-packaged-twice   2011-10-20 
11:57:54.0 +0200
+++ post-build-checks-1.0/checks/09-check-packaged-twice2011-11-25 
19:07:11.509942810 +0100
@@ -1,61 +1,73 @@
-#!/usr/bin/perl
+#!/usr/bin/perl -w
 # search for files packaged more than once
+# it is an error if such a file exists but the packages do not conflict
 #
 use strict;
 my $had_errors = 0;
-my $build_root = $::ENV{BUILD_ROOT};
-my @RPMS = ();
+my $build_root = $::ENV{BUILD_ROOT} || '/';
 
 my $TOPDIR = '/usr/src/packages';
 $TOPDIR = '/.build.packages' if -d "$build_root/.build.packages";
 
-open ( ALL_RPMS , "find $build_root$TOPDIR/RPMS -name \"*.rpm\" |");
-while ( my $cur =  ) {
-chomp ( $cur );
-$cur =~ s/^$build_root//;
-push @RPMS, $cur;
+sub conflicts {
+my ($rpm1, $rpm2) = @_;
+open (F, "chroot $build_root rpm -qp --qf '[%{CONFLICTNAME} 
%{CONFLICTFLAGS} %{CONFLICTVERSION}\n]' $rpm1|");
+my @conflicts = ;
+close F;
+chomp @conflicts;
+return 0 unless @conflicts;
+open (F, "chroot $build_root rpm -qp --qf '[%{PROVIDENAME} %{PROVIDEFLAGS} 
%{PROVIDEVERSION}\n]' $rpm2|");
+my @provides = ;
+close F;
+for my $c (@conflicts) {
+my @cc = split(' ', $c, 3);
+$cc[0] =~ s/^otherproviders\((.*)\)$/$1/;
+for my $p (@provides) {
+my @pp = split(' ', $p, 3);
+next unless $cc[0] eq $pp[0];
+# add complex logic here if needed
+return 1;
+}
+}
+return 0;
 }
-close ( ALL_RPMS );
 
-if ( $#RPMS < 1 ) {
-exit 0;
+open (ALL_RPMS, "find $build_root$TOPDIR/RPMS -name \"*.rpm\" |");
+my @rpms = ;
+chomp @rpms;
+close ALL_RPMS;
+
+exit 0 if @rpms < 2;
+
+my %allfiles;
+my %pkg2rpm;
+
+for my $rpm (@rpms) {
+$rpm =~ s/^$build_root//;
+open (FILES, "chroot $build_root rpm -qp --qf '[%{FILEMODES:perms} %{NAME} 
%{FILENAMES}\n]' $rpm|");
+my @files = ;
+chomp @files;
+close FILES;
+# ignore dirs
+@files = grep {!/^d/} @files;
+for my $file (@files) {
+next unless $file =~ /^\S+ (\S+) (.*)$/;
+$allfiles{$2}->{$1} = 1;
+$pkg2rpm{$1} = $rpm;
+}
 }
 
-my %FILES = ();
-
-for my $cur (@RPMS) {
-  my $rpmname = `chroot $build_root rpm -qp --qf '%{NAME}' $cur`;
-  open ( FILELIST , "chroot $build_root rpm -qplv $cur |");
-  while ( my $file =  ) {
- chomp ( $file );
- next if ( $file =~ /^d/ );
- my @line = split ('\s+',$file);
- my $filename = "";
- while (my $file_too = pop(@line)) {
-if ($file_too eq "->") {
-   # this was a symlink target
-   $filename = "";
-} else {
-   $filename = $file_too.($filename eq "" ? "" : " ").$filename;
-}
-last if ($#line == 7);
- }
- if ( $FILES{$filename} ) {
-   #printf "ERROR: $rpmname: $filename already packaged in package 
$FILES{$filename}\n";
-   printf "WARNING: $rpmname: $filename already packaged in package 
$FILES{$filename}\n";
-   $had_errors = 1;
-   $FILES{$filename} .= ",$rpmname";
- } else {
-   $FILES{$filename} = $rpmname;
- }
-  }
-  close ( FILELIST );
+for my $file (keys %allfiles) {
+my @pkgs = keys %{$allfiles{$file}};
+next if @pkgs < 2;
+while (@pkgs) {
+my $p1 = shift @pkgs;
+   for my $p2 (@

commit post-build-checks for openSUSE:Factory

2011-07-26 Thread h_root

Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory
checked in at Tue Jul 26 12:04:59 CEST 2011.




--- post-build-checks/post-build-checks.changes 2011-06-22 22:59:46.0 
+0200
+++ /mounts/work_src_done/STABLE/post-build-checks/post-build-checks.changes
2011-07-22 16:43:41.0 +0200
@@ -1,0 +2,5 @@
+Fri Jul 22 16:43:16 CEST 2011 - lnus...@suse.de
+
+- Fix filelist check for new rpm
+
+---

calling whatdependson for head-i586




Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.NgnjYT/_old  2011-07-26 12:02:47.0 +0200
+++ /var/tmp/diff_new_pack.NgnjYT/_new  2011-07-26 12:02:47.0 +0200
@@ -24,7 +24,7 @@
 AutoReqProv:on
 Summary:post checks for build after rpms have been created
 Version:1.0
-Release:93
+Release:95
 PreReq: aaa_base permissions sed
 Url:http://gitorious.org/opensuse/post-build-checks
 #

++ post-build-checks-1.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/post-build-checks-1.0/checks-data/checkdirs 
new/post-build-checks-1.0/checks-data/checkdirs
--- old/post-build-checks-1.0/checks-data/checkdirs 2011-03-25 
01:28:36.0 +0100
+++ new/post-build-checks-1.0/checks-data/checkdirs 2011-07-22 
16:42:52.0 +0200
@@ -18,6 +18,7 @@
 
 while () {
   chomp;
+  s/\/$//;
   $myfiles{$_} = 1;
   while (1) {
 last unless s/\/[^\/]*$//;






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2011-06-23 Thread h_root

Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory
checked in at Thu Jun 23 13:15:36 CEST 2011.




--- post-build-checks/post-build-checks.changes 2011-03-25 01:30:24.0 
+0100
+++ /mounts/work_src_done/STABLE/post-build-checks/post-build-checks.changes
2011-06-22 22:59:46.0 +0200
@@ -1,0 +2,11 @@
+Wed Jun 22 22:59:31 CEST 2011 - dmuel...@suse.de
+
+- fix strict-aliasing compiler check with gcc 4.6
+
+---
+Tue Jun 21 08:31:44 CEST 2011 - dmuel...@suse.de
+
+- re-enable fatal checks in 04-check-filelist as the deadline has
+  passed
+
+---

calling whatdependson for head-i586




Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.1yhweB/_old  2011-06-23 13:14:56.0 +0200
+++ /var/tmp/diff_new_pack.1yhweB/_new  2011-06-23 13:14:56.0 +0200
@@ -24,7 +24,7 @@
 AutoReqProv:on
 Summary:post checks for build after rpms have been created
 Version:1.0
-Release:90
+Release:93
 PreReq: aaa_base permissions sed
 Url:http://gitorious.org/opensuse/post-build-checks
 #

++ post-build-checks-1.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/post-build-checks-1.0/checks/04-check-filelist 
new/post-build-checks-1.0/checks/04-check-filelist
--- old/post-build-checks-1.0/checks/04-check-filelist  2011-03-25 
01:28:36.0 +0100
+++ new/post-build-checks-1.0/checks/04-check-filelist  2011-06-21 
08:30:46.0 +0200
@@ -12,8 +12,4 @@
[ $? = 0 ] || ret=1
 done
 
-if [ "$ret" -ne 0 ]; then
-   echo "*** This failure will be made fatal at Dec 8, please fix your 
package ***"
-fi
-#exit $ret
-exit 0
+exit $ret
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/post-build-checks-1.0/tests/xx16.c 
new/post-build-checks-1.0/tests/xx16.c
--- old/post-build-checks-1.0/tests/xx16.c  2011-03-25 01:28:36.0 
+0100
+++ new/post-build-checks-1.0/tests/xx16.c  2011-06-22 23:35:56.0 
+0200
@@ -1,9 +1,7 @@
-struct s {
-  char*p;
-};
-
-void
-func(struct s *ptr)
-{ 
-  *(void **)&ptr->p = 0; /* { dg-warning "type-punned pointer" } */
+int foo()
+{
+  int i;
+  *(long*)&i = 0;  /* { dg-warning "type-punn" } */
+  return i;
 }
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/post-build-checks-1.0/tests/xx4.BROKEN.C 
new/post-build-checks-1.0/tests/xx4.BROKEN.C
--- old/post-build-checks-1.0/tests/xx4.BROKEN.C1970-01-01 
01:00:00.0 +0100
+++ new/post-build-checks-1.0/tests/xx4.BROKEN.C2011-03-25 
01:28:36.0 +0100
@@ -0,0 +1,5 @@
+#include 
+int main(int argc, char **argv) {
+   printf("hallo %s\n");
+   return 0;
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/post-build-checks-1.0/tests/xx4.c 
new/post-build-checks-1.0/tests/xx4.c
--- old/post-build-checks-1.0/tests/xx4.c   2011-03-25 01:28:36.0 
+0100
+++ new/post-build-checks-1.0/tests/xx4.c   1970-01-01 01:00:00.0 
+0100
@@ -1,5 +0,0 @@
-#include 
-int main(int argc, char **argv) {
-   printf("hallo %s\n");
-   return 0;
-}






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2011-03-25 Thread h_root

Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory
checked in at Fri Mar 25 08:59:27 CET 2011.




--- post-build-checks/post-build-checks.changes 2011-03-21 00:56:18.0 
+0100
+++ /mounts/work_src_done/STABLE/post-build-checks/post-build-checks.changes
2011-03-25 01:30:24.0 +0100
@@ -1,0 +2,5 @@
+Fri Mar 25 01:29:44 CET 2011 - r...@suse.de
+
+- drop sync workaround again 
+
+---

calling whatdependson for head-i586




Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.whKWiy/_old  2011-03-25 08:59:11.0 +0100
+++ /var/tmp/diff_new_pack.whKWiy/_new  2011-03-25 08:59:11.0 +0100
@@ -24,7 +24,7 @@
 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
 #
@@ -86,10 +86,6 @@
 mv /bin/uname /bin/uname.bin
 ln -s /usr/lib/build/helper/uname.sh /bin/uname
 fi
-if test -f /bin/sync -a ! -L /bin/sync ; then
-mv /bin/sync /bin/sync.bin
-ln -s /usr/lib/build/helper/sync.sh /bin/sync
-fi
 
 %preun
 if ! test -e /.buildenv; then
@@ -98,9 +94,6 @@
 if test "$1" = 0 -a -f /bin/uname.bin ; then
 mv /bin/uname.bin /bin/uname
 fi
-if test "$1" = 0 -a -f /bin/sync.bin ; then
-mv /bin/sync.bin /bin/sync
-fi
 
 %files
 %defattr(-, root, root)

++ post-build-checks-1.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/post-build-checks-1.0/helper/sync.sh 
new/post-build-checks-1.0/helper/sync.sh
--- old/post-build-checks-1.0/helper/sync.sh2011-03-21 00:52:07.0 
+0100
+++ new/post-build-checks-1.0/helper/sync.sh1970-01-01 01:00:00.0 
+0100
@@ -1,8 +0,0 @@
-#!/bin/bash
-
-if test -f /.buildenv ; then
-echo "sync disabled inside build environment."
-exit 0
-fi
-
-exec /bin/sync.bin $*






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit post-build-checks for openSUSE:Factory

2011-03-21 Thread h_root

Hello community,

here is the log from the commit of package post-build-checks for 
openSUSE:Factory
checked in at Mon Mar 21 11:05:43 CET 2011.




--- post-build-checks/post-build-checks.changes 2010-12-07 15:38:47.0 
+0100
+++ /mounts/work_src_done/STABLE/post-build-checks/post-build-checks.changes
2011-03-21 00:56:18.0 +0100
@@ -1,0 +2,5 @@
+Mon Mar 21 00:52:59 CET 2011 - r...@suse.de
+
+- add helper/sync.sh to disable sync inside build environment 
+
+---

calling whatdependson for head-i586




Other differences:
--
++ post-build-checks.spec ++
--- /var/tmp/diff_new_pack.cCgW57/_old  2011-03-21 10:57:07.0 +0100
+++ /var/tmp/diff_new_pack.cCgW57/_new  2011-03-21 10:57:07.0 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package post-build-checks (Version 1.0)
+# spec file for package post-build-checks
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# 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
@@ -24,7 +24,7 @@
 AutoReqProv:on
 Summary:post checks for build after rpms have been created
 Version:1.0
-Release:82
+Release:89
 PreReq: aaa_base permissions sed
 Url:http://gitorious.org/opensuse/post-build-checks
 #
@@ -86,6 +86,10 @@
 mv /bin/uname /bin/uname.bin
 ln -s /usr/lib/build/helper/uname.sh /bin/uname
 fi
+if test -f /bin/sync -a ! -L /bin/sync ; then
+mv /bin/sync /bin/sync.bin
+ln -s /usr/lib/build/helper/sync.sh /bin/sync
+fi
 
 %preun
 if ! test -e /.buildenv; then
@@ -94,6 +98,9 @@
 if test "$1" = 0 -a -f /bin/uname.bin ; then
 mv /bin/uname.bin /bin/uname
 fi
+if test "$1" = 0 -a -f /bin/sync.bin ; then
+mv /bin/sync.bin /bin/sync
+fi
 
 %files
 %defattr(-, root, root)

++ post-build-checks-1.0.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/post-build-checks-1.0/checks/04-check-filelist 
new/post-build-checks-1.0/checks/04-check-filelist
--- old/post-build-checks-1.0/checks/04-check-filelist  2010-12-07 
15:11:18.0 +0100
+++ new/post-build-checks-1.0/checks/04-check-filelist  2011-03-21 
00:52:07.0 +0100
@@ -12,4 +12,8 @@
[ $? = 0 ] || ret=1
 done
 
-exit $ret
+if [ "$ret" -ne 0 ]; then
+   echo "*** This failure will be made fatal at Dec 8, please fix your 
package ***"
+fi
+#exit $ret
+exit 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/post-build-checks-1.0/helper/sync.sh 
new/post-build-checks-1.0/helper/sync.sh
--- old/post-build-checks-1.0/helper/sync.sh1970-01-01 01:00:00.0 
+0100
+++ new/post-build-checks-1.0/helper/sync.sh2011-03-21 00:52:07.0 
+0100
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+if test -f /.buildenv ; then
+echo "sync disabled inside build environment."
+exit 0
+fi
+
+exec /bin/sync.bin $*






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org