[Pkg-mozext-commits] [autofill-forms] 05/06: fix version parsing at d/rules and add dversionmangle to d/watch

Sascha Girrulat sagiru-guest at alioth.debian.org
Fri Oct 4 09:39:50 UTC 2013


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

sagiru-guest pushed a commit to branch master
in repository autofill-forms.

commit c63b3b00566ee83281f4f907cce136fa22ca9d8b
Author: Sascha Girrulat <sascha at girrulat.de>
Date:   Tue Oct 1 12:19:16 2013 +0200

    fix version parsing at d/rules and add dversionmangle to d/watch
---
 debian/rules |    2 +-
 debian/watch |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 6ce3f4c..e3811dd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@
 #export DH_VERBOSE=1
 
 #!/usr/bin/make -f
-REV=$(shell dpkg-parsechangelog  | awk '/Version:/ { print $$2 }' | sed "s/-[0-9]*//g")
+REV=$(shell dpkg-parsechangelog  | awk '/Version:/ { print $$2 }' | sed "s/+dfsg-[0-9]*//g")
 
 %:
 	dh $@ --with xul-ext
diff --git a/debian/watch b/debian/watch
index 1382d8a..739d3d7 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
 version=3
+opts=dversionmangle=s/\.dfsg// \
 ftp://ftp.mozilla.org/pub/mozilla.org/addons/4775/autofill_forms-(.*)-fx.xpi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/autofill-forms.git



More information about the Pkg-mozext-commits mailing list