mirror of
https://github.com/rfc1036/whois.git
synced 2026-05-03 06:51:09 +00:00
debian/rules: update the version safety check
To support Debian stable updates.
This commit is contained in:
parent
d053b2f1f6
commit
33bbce446b
2
debian/rules
vendored
2
debian/rules
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user