aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarDaniel Baumann <daniel@debian.org>2025-11-30 18:49:16 +0100
committerLibravatarDaniel Baumann <daniel@debian.org>2025-11-30 18:49:32 +0100
commitb68e6d6860a816d8d524b028c9fcaf7dd6398962 (patch)
tree987af4187fcc5abb0a5441a72b43a19f0595db6a
parent616255fd0745933c4f290a30d72eba27a2b16c6b (diff)
Updating version mangling in rules to replace invalid symbols.
Signed-off-by: Daniel Baumann <daniel@debian.org>
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 890dd82..4a5ede6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
SHELL := sh -e
-VERSION := $(shell dpkg-parsechangelog | awk '/^Version: / { print $$2 }' | rev | cut -d- -f2- | rev)
+VERSION := $(shell dpkg-parsechangelog | awk '/^Version: / { print $$2 }' | rev | cut -d- -f2- | rev | sed -e 's|~|.|g')
%:
dh ${@} --buildsystem=pybuild --with=python3