Tweak tag->debian package version code so rc tags are later than test ones.
diff --git a/debian/rules b/debian/rules
index ca1f0c9..7b9f4da 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,7 +25,7 @@
# Force package version based on git tags.
ifneq (,$(filter gitversion,$(DEB_BUILD_OPTIONS)))
- PACKAGE_VERSION = $(shell bld/get-version `pwd` | sed 's/[a-z]/~&/; s/-/./g; s/$$/-1/; s/^/-v/';)
+ PACKAGE_VERSION = $(shell bld/get-version `pwd` | sed 's/test/~&/; s/[a-z]/~&/; s/-/./g; s/$$/-1/; s/^/-v/';)
endif
ifeq (,$(filter nodbus,$(DEB_BUILD_OPTIONS)))