3
0

- add helper/sync.sh to disable sync inside build environment

OBS-URL: https://build.opensuse.org/package/show/Base:System/post-build-checks?expand=0&rev=35
This commit is contained in:
Ruediger Oertel 2011-03-20 23:56:19 +00:00 committed by Git OBS Bridge
parent 08ec42b3fc
commit 62d86ee1d6
3 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:87e7a1a949e45639650f3eb9a7b53deeb6bb41629f34573fec1736e291b4fe51
size 31154
oid sha256:6b901b855837970491b71afdbb8c4b26808f46177922906bed6dab9603e051c7
size 31272

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 21 00:52:59 CET 2011 - ro@suse.de
- add helper/sync.sh to disable sync inside build environment
-------------------------------------------------------------------
Tue Dec 7 14:38:10 UTC 2010 - lnussel@suse.de

View File

@ -24,7 +24,7 @@ Group: Development/Tools/Building
AutoReqProv: on
Summary: post checks for build after rpms have been created
Version: 1.0
Release: 81
Release: 82
PreReq: aaa_base permissions sed
Url: http://gitorious.org/opensuse/post-build-checks
#
@ -86,6 +86,10 @@ if test -f /bin/uname -a ! -L /bin/uname ; then
mv /bin/uname /bin/uname.bin
ln -s /usr/lib/build/helper/uname.sh /bin/uname
fi
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 @@ fi
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)