Accepting request 220485 from home:oertel:branches:Base:System

- adapt uname linking in specfile to /usr move (bnc#860600) 

- 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

OBS-URL: https://build.opensuse.org/request/show/220485
OBS-URL: https://build.opensuse.org/package/show/Base:System/post-build-checks?expand=0&rev=91
This commit is contained in:
Stephan Kulow 2014-02-01 08:47:26 +00:00 committed by Git OBS Bridge
parent b8c7e50dae
commit 8ba3e4e65a
4 changed files with 30 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8faa5f3a942736cc35021a9df112efc7bc4bce9077a21cf3745662d3981c744a
size 35072

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8fca1f2028335332e8f13422be0906f5a5c1b932cdd36a38187c3833f3a55e33
size 34184

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri Jan 31 15:31:34 CET 2014 - ro@suse.de
- adapt uname linking in specfile to /usr move (bnc#860600)
-------------------------------------------------------------------
Fri Jan 31 14:26:05 UTC 2014 - ro@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
-------------------------------------------------------------------
Thu Jan 9 11:06:05 UTC 2014 - coolo@suse.com

View File

@ -20,7 +20,7 @@ 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+git20140109.507e5c2
Version: 13.2+git20140131.590c07b
Release: 0
PreReq: aaa_base permissions sed
Requires: aaa_base-malloccheck
@ -88,17 +88,25 @@ if ! test -e /.buildenv; then
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