File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ TARGET_DIR = $(PKG_DIR)/target
66CONFIG_DIR = /etc/aerospike
77# Package variables
88VERSION = $(shell git describe --tags --always)
9+ RPM_VERSION = $(shell git describe --tags --always | tr '-' '_')
910BUILD_DISTRO ?= $(shell .github/packaging/common/os_version.sh)
1011NAME = "aerospike-$(PACKAGE_NAME ) "
1112MAINTAINER = "Aerospike"
@@ -43,13 +44,13 @@ rpm: prep
4344 --output-type rpm \
4445 --chdir $(BUILD_DIR ) / \
4546 --name $(NAME ) \
46- --version $(VERSION ) \
47+ --version $(RPM_VERSION ) \
4748 --maintainer $(MAINTAINER ) \
4849 --description $(DESCRIPTION ) \
4950 --license $(LICENSE ) \
5051 --url $(URL ) \
5152 --vendor $(VENDOR ) \
52- --package $(TARGET_DIR ) /$(NAME ) -$(VERSION ) .$(BUILD_DISTRO ) .$(ARCH ) .rpm
53+ --package $(TARGET_DIR ) /$(NAME ) -$(RPM_VERSION ) .$(BUILD_DISTRO ) .$(ARCH ) .rpm
5354
5455.PHONY : tar
5556tar : prep
You can’t perform that action at this time.
0 commit comments