X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=debian%2Frules;fp=debian%2Frules;h=110182f9254e7c1fc96b5a164ede811eab1c7bf1;hb=f30160644f2dc5386272ef1095cf3d52b7106401;hp=f9b56feae097656dc002fad7a1ef8e9803a07563;hpb=5f6838f374f5ebbc30d372c3a38d248066f39fb4;p=videolink.git 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