summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWookey <wookey@debian.org>2018-02-16 01:59:06 +0000
committerWookey <wookey@debian.org>2018-02-16 02:06:13 +0000
commit6308d77cabf2402529236a3807c2e65b1ee14e46 (patch)
tree658c4c3e8089ebfb9d4fd2dfd21d20205cb57ec8
parentbca6272f79877458413f316b63d829e82bb4cbc5 (diff)
Ensure that module versoin is still 16.0, when package is 16.0+pristine
-rwxr-xr-xdebian/rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index f06d9b5..c583715 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,8 @@
export DH_VERBOSE=1
-VERSION := $(shell dpkg-parsechangelog -S Version | sed 's/-.*//')
+#just use base version
+VERSION := $(shell dpkg-parsechangelog -S Version | sed 's/-.*//' | sed 's/+pristine//')
%:
dh $* --parallel --with dkms