[libnet-dbus-perl] 218/335: Force --nodeps on RPM build

Intrigeri intrigeri at moszumanska.debian.org
Sat Mar 21 01:08:00 UTC 2015


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch experimental
in repository libnet-dbus-perl.

commit f8d2cf5a600a95293b657f1ec041445fc6d41935
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Sun Aug 20 19:38:04 2006 -0400

    Force --nodeps on RPM build
---
 autobuild.sh | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/autobuild.sh b/autobuild.sh
index 76bff94..da324f9 100755
--- a/autobuild.sh
+++ b/autobuild.sh
@@ -48,13 +48,9 @@ if [ -f /usr/bin/rpmbuild ]; then
     NOW=`date +"%s"`
     EXTRA_RELEASE=".$USER$NOW"
   fi
-  rpmbuild -ta --define "extra_release $EXTRA_RELEASE" --clean $NAME-*.tar.gz
+  # The --nodeps bit is a nasty hack to force build
+  # against the dbus from autobuild, rather than a
+  # (non-existant) installed RPM 
+  rpmbuild -ta --define "extra_release $EXTRA_RELEASE" --clean $NAME-*.tar.gz --nodeps
 fi
 
-# Skip debian pkg for now
-exit 0
-
-if [ -f /usr/bin/fakeroot ]; then
-  fakeroot debian/rules clean
-  fakeroot debian/rules DESTDIR=$HOME/packages/debian binary
-fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-dbus-perl.git



More information about the Pkg-perl-cvs-commits mailing list