From: Ben Hutchings Date: Thu, 10 Aug 2006 01:43:17 +0000 (+0000) Subject: Changed Mozilla dependency to allow for binary-only rebuilds. X-Git-Tag: 0.8~6 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=f30160644f2dc5386272ef1095cf3d52b7106401;p=videolink.git Changed Mozilla dependency to allow for binary-only rebuilds. --- diff --git a/debian/rules b/debian/rules index f9b56fe..110182f 100755 --- a/debian/rules +++ b/debian/rules @@ -11,7 +11,8 @@ binary-arch : build dh_strip dh_shlibdeps @echo "Despite the warnings from dh_shlibdeps, this should complete dependencies:" - echo "mozilla:Depends=mozilla-browser (= $$(dpkg-query -W --showformat='$${version}' mozilla-browser))" >> debian/videolink.substvars + MOZ_VERSION=$$(dpkg-query -W --showformat='$${version}' mozilla-browser | sed 's/+b[0-9]*$$//') \ + && echo "mozilla:Depends=mozilla-browser (>= $$MOZ_VERSION), mozilla-browser (<< $$MOZ_VERSION.0)" >> debian/videolink.substvars mkdir -p -m755 debian/videolink/usr/share/doc/videolink cp COPYING debian/videolink/usr/share/doc/videolink/copyright mkdir -p -m755 debian/videolink/usr/share/man/man1