This is an automated email from the ASF dual-hosted git repository.

rnewson pushed a commit to branch rpm-hyphen
in repository https://gitbox.apache.org/repos/asf/couchdb-pkg.git

commit 9a18bc88b17baf35a980dacb9cee4a502f89c005
Author: Robert Newson <[email protected]>
AuthorDate: Mon Nov 10 17:37:27 2025 +0000

    fix rpm versions with hyphens
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 321da49..f6cddfa 100644
--- a/Makefile
+++ b/Makefile
@@ -299,7 +299,7 @@ make-rpmbuild:
 # If we don't change $HOME it'll force building in ~/rpmbuild. Boo.
 build-rpm:
        $(eval HOME := $(shell readlink -f ..))
-       export HOME=$(HOME) && cd ../rpmbuild && rpmbuild --verbose -bb 
SPECS/couchdb.spec --define '_version $(VERSION)'
+       export HOME=$(HOME) && cd ../rpmbuild && rpmbuild --verbose -bb 
SPECS/couchdb.spec --define '_version $(subst -,.,$(VERSION))'
 
 # ######################################
 copy-pkgs:

Reply via email to