diff options
author | Christian Pointner <equinox@spreadspace.org> | 2023-07-23 22:07:50 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2023-07-23 22:07:50 +0200 |
commit | db7ba04ba22da541e4e4561a831919fb565cd367 (patch) | |
tree | 6553c7bd442a22dda941784c2a9eb6a0574c6b36 | |
parent | also build package for pam module (diff) |
fix version number format for RCs
-rw-r--r-- | whawty-auth/debian/changelog | 2 | ||||
-rwxr-xr-x | whawty-auth/debian/rules | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/whawty-auth/debian/changelog b/whawty-auth/debian/changelog index 08cec37..6c158db 100644 --- a/whawty-auth/debian/changelog +++ b/whawty-auth/debian/changelog @@ -1,4 +1,4 @@ -whawty-auth (0.2-rc2-1) unstable; urgency=medium +whawty-auth (0.2~rc2-1) unstable; urgency=medium * Initial release. diff --git a/whawty-auth/debian/rules b/whawty-auth/debian/rules index 926c4d3..cb55cec 100755 --- a/whawty-auth/debian/rules +++ b/whawty-auth/debian/rules @@ -6,8 +6,8 @@ include /usr/share/dpkg/pkg-info.mk override_dh_auto_configure: override_dh_auto_build: - make VERSION=$(DEB_VERSION_UPSTREAM) $(DEB_BUILD_ARCH)/whawty-auth - make VERSION=$(DEB_VERSION_UPSTREAM) $(DEB_BUILD_ARCH)/pam/pam_whawty.so + make VERSION=$(shell echo $(DEB_VERSION_UPSTREAM) | sed 's#~rc#-rc#') $(DEB_BUILD_ARCH)/whawty-auth + make VERSION=$(shell echo $(DEB_VERSION_UPSTREAM) | sed 's#~rc#-rc#') $(DEB_BUILD_ARCH)/pam/pam_whawty.so override_dh_auto_install: install -d $$(pwd)/debian/tmp/usr/bin/ @@ -16,4 +16,4 @@ override_dh_auto_install: install -m 644 $$(pwd)/$(DEB_BUILD_ARCH)/pam/pam_whawty.so $$(pwd)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/security/ override_dh_auto_clean: - make VERSION=$(DEB_VERSION_UPSTREAM) clean + make VERSION=$(shell echo $(DEB_VERSION_UPSTREAM) | sed 's#~rc#-rc#') clean |