Skip to content
Snippets Groups Projects
Commit bfa0eca4 authored by Philip Hands's avatar Philip Hands Committed by Holger Levsen
Browse files

d/rules: emit an error message on version mismatch


Signed-off-by: default avatarHolger Levsen <holger@layer-acht.org>
parent eecca82e
No related branches found
Tags debian/4.21-1
No related merge requests found
Pipeline #418824 failed with stages
in 6 minutes and 49 seconds
......@@ -20,7 +20,7 @@ export PYBUILD_NAME = reprotest
export REPROTEST_TEST_DONTVARY = fileordering,user_group,domain_host$(if $(shell nproc | grep --color=no -Fx 1),$(,)num_cpus,)
execute_before_dh_auto_configure:
test $$(python3 setup.py --version) = $$(echo $(DEB_VERSION) | sed 's/[^0-9.].*//')
rv=$$(python3 setup.py --version); dv=$$(echo $(DEB_VERSION) | sed 's/[^0-9.].*//'); test "$$rv" = "$$dv" || { printf "ERROR: version mismatch: setup.py (version=%s) does not match Debian version (%s)\n" "$$rv" "$$dv"; false; }
execute_after_dh_auto_build:
$(MAKE) -C doc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment