From 33bbce446bfdab9e2bfb3bd28e1067f0e71d6f06 Mon Sep 17 00:00:00 2001 From: Marco d'Itri Date: Sat, 11 Jan 2014 04:02:21 +0100 Subject: [PATCH] debian/rules: update the version safety check To support Debian stable updates. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 9fd085d..7c78445 100755 --- a/debian/rules +++ b/debian/rules @@ -13,7 +13,7 @@ DPKG_EXPORT_BUILDFLAGS = 1 D := $(CURDIR)/debian/whois -VERSION := $(shell dpkg-parsechangelog | sed -n 's/~*ubuntu[0-9]*.*$$//; s/\+.*$$//; /^Version/s/.* //p') +VERSION := $(shell dpkg-parsechangelog | sed -rn 's/(~deb|~?ubuntu)[0-9]*.*$$//; s/\+.*$$//; /^Version/s/.* //p') build: dh_testdir