]> git.decadent.org.uk Git - videolink.git/commitdiff
Changed Mozilla dependency to allow for binary-only rebuilds.
authorBen Hutchings <ben@decadent.org.uk>
Thu, 10 Aug 2006 01:43:17 +0000 (01:43 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 2 Nov 2008 23:54:40 +0000 (23:54 +0000)
debian/rules

index f9b56feae097656dc002fad7a1ef8e9803a07563..110182f9254e7c1fc96b5a164ede811eab1c7bf1 100755 (executable)
@@ -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