From f30160644f2dc5386272ef1095cf3d52b7106401 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Thu, 10 Aug 2006 01:43:17 +0000 Subject: [PATCH] Changed Mozilla dependency to allow for binary-only rebuilds. --- debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5