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:
parent
b8c7e50dae
commit
8ba3e4e65a
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:8faa5f3a942736cc35021a9df112efc7bc4bce9077a21cf3745662d3981c744a
|
|
||||||
size 35072
|
|
3
post-build-checks-13.2+git20140131.590c07b.tar.xz
Normal file
3
post-build-checks-13.2+git20140131.590c07b.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8fca1f2028335332e8f13422be0906f5a5c1b932cdd36a38187c3833f3a55e33
|
||||||
|
size 34184
|
@ -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
|
Thu Jan 9 11:06:05 UTC 2014 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ Name: post-build-checks
|
|||||||
Summary: post checks for build after rpms have been created
|
Summary: post checks for build after rpms have been created
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
Version: 13.2+git20140109.507e5c2
|
Version: 13.2+git20140131.590c07b
|
||||||
Release: 0
|
Release: 0
|
||||||
PreReq: aaa_base permissions sed
|
PreReq: aaa_base permissions sed
|
||||||
Requires: aaa_base-malloccheck
|
Requires: aaa_base-malloccheck
|
||||||
@ -88,17 +88,25 @@ if ! test -e /.buildenv; then
|
|||||||
fi
|
fi
|
||||||
sed -i -e "s@^PERMISSION_SECURITY=.*@PERMISSION_SECURITY=\"secure\"@" /etc/sysconfig/security
|
sed -i -e "s@^PERMISSION_SECURITY=.*@PERMISSION_SECURITY=\"secure\"@" /etc/sysconfig/security
|
||||||
sed -i -e "s@^TIMEZONE=.*@TIMEZONE=\"UTC\"@" /etc/sysconfig/clock
|
sed -i -e "s@^TIMEZONE=.*@TIMEZONE=\"UTC\"@" /etc/sysconfig/clock
|
||||||
if test -f /bin/uname -a ! -L /bin/uname ; then
|
UNAME=/bin/uname
|
||||||
mv /bin/uname /bin/uname.bin
|
if test -f /usr/bin/uname ; then
|
||||||
ln -s /usr/lib/build/helper/uname.sh /bin/uname
|
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
|
fi
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
if ! test -e /.buildenv; then
|
if ! test -e /.buildenv; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
if test "$1" = 0 -a -f /bin/uname.bin ; then
|
UNAME=/bin/uname
|
||||||
mv /bin/uname.bin /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
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
Loading…
Reference in New Issue
Block a user