diff --git a/debian/changelog b/debian/changelog index b8d6c4a..71dd209 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,7 @@ * Add salsa-ci file (routine-update) * Rules-Requires-Root: no (routine-update) * Set upstream metadata fields: Repository, Repository-Browse. + * Do not parse d/changelog (routine-update) -- Andreas Tille Fri, 06 Nov 2020 15:32:44 +0100 diff --git a/debian/rules b/debian/rules index e757e2f..1519595 100755 --- a/debian/rules +++ b/debian/rules @@ -2,9 +2,9 @@ # -*- makefile -*- DH_VERBOSE=1 -DEBVERS := $(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p') -VERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[~-].*//') -OVERSION := $(shell echo '$(DEBVERS)' | sed -e 's/^[[:digit:]]*://' -e 's/[+].*//') +include /usr/share/dpkg/default.mk +VERSION := $(shell echo '$(DEB_VERSION)' | sed -e 's/^[[:digit:]]*://' -e 's/[~-].*//') +OVERSION := $(shell echo '$(DEB_VERSION)' | sed -e 's/^[[:digit:]]*://' -e 's/[+].*//') %: dh $@