Package: whois Version: 5.0.18 Followup-For: Bug #684526 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu quantal ubuntu-patch
Here is an updated version of the patch which allows for Ubuntu patches, and backports. I've tested this with those types of packages and it works perfectly. Thanks for considering the patch. -- System Information: Debian Release: wheezy/sid APT prefers precise-updates APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise'), (100, 'precise-backports') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-23-lowlatency (SMP w/8 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru whois-5.0.18/debian/changelog whois-5.0.18ubuntu1/debian/changelog diff -Nru whois-5.0.18/debian/rules whois-5.0.18ubuntu1/debian/rules --- whois-5.0.18/debian/rules 2012-06-24 20:15:43.000000000 -0500 +++ whois-5.0.18ubuntu1/debian/rules 2012-09-17 10:23:01.000000000 -0500 @@ -6,7 +6,7 @@ D := $(CURDIR)/debian/whois -VERSION := $(shell dpkg-parsechangelog | sed -n 's/ubuntu[0-9]*.*$$//; s/\+.*$$//; /^Version/s/.* //p') +VERSION := $(shell dpkg-parsechangelog | sed -n 's/~*ubuntu[0-9]*.*$$//; s/\+.*$$//; /^Version/s/.* //p') build: dh_testdir