From 9069c7d24a4996f9924151ad31011dd6eae4b13d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 29 Apr 2025 04:12:55 +0200 Subject: Harmonizing overwriting of upstream version string with dpkg-parsechangelog. Signed-off-by: Daniel Baumann --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/rules b/debian/rules index 216359b..1e32165 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,7 @@ SHELL := sh -e -VERSION := $(shell dpkg-parsechangelog -SVersion | sed -e 's|~dev|.dev|' -e 's|+.*||') +VERSION := $(shell dpkg-parsechangelog | awk '/^Version: / { print $$2 }' | rev | cut -d- -f2- | rev) %: dh ${@} --buildsystem=pybuild --with=python3 -- cgit v1.2.3