From 62d86ee1d6bed537f160af4f7389a077901708ccb81f547d1840652f8b3ccfe5 Mon Sep 17 00:00:00 2001 From: Ruediger Oertel Date: Sun, 20 Mar 2011 23:56:19 +0000 Subject: [PATCH] - 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 --- post-build-checks-1.0.tar.bz2 | 4 ++-- post-build-checks.changes | 5 +++++ post-build-checks.spec | 9 ++++++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/post-build-checks-1.0.tar.bz2 b/post-build-checks-1.0.tar.bz2 index b1b7a47..dc22f00 100644 --- a/post-build-checks-1.0.tar.bz2 +++ b/post-build-checks-1.0.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:87e7a1a949e45639650f3eb9a7b53deeb6bb41629f34573fec1736e291b4fe51 -size 31154 +oid sha256:6b901b855837970491b71afdbb8c4b26808f46177922906bed6dab9603e051c7 +size 31272 diff --git a/post-build-checks.changes b/post-build-checks.changes index 7c17c11..39f14a3 100644 --- a/post-build-checks.changes +++ b/post-build-checks.changes @@ -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 diff --git a/post-build-checks.spec b/post-build-checks.spec index c976e8f..284e4f3 100644 --- a/post-build-checks.spec +++ b/post-build-checks.spec @@ -24,7 +24,7 @@ Group: Development/Tools/Building AutoReqProv: on Summary: post checks for build after rpms have been created Version: 1.0 -Release: 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)