build: fix source rpm package name

This commit is contained in:
Zaiming Shi 2021-11-16 01:10:52 +01:00
parent c97c6aefc9
commit 3f1fc64a98
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ ifeq ($(RPM_REL),)
# no tail # no tail
RPM_REL := 1 RPM_REL := 1
endif endif
SOURCE_PKG := emqx-$(RPM_VSN)-$(RPM_REL)-otp$(OTP_VSN)-$(SYSTEM)-$(shell uname -m) SOURCE_PKG := emqx-$(RPM_VSN)-$(RPM_REL)-otp$(OTP_VSN)-$(SYSTEM).$(shell uname -m)
SYSTEMD := $(shell if command -v systemctl >/dev/null 2>&1; then echo yes; fi) SYSTEMD := $(shell if command -v systemctl >/dev/null 2>&1; then echo yes; fi)
# Not $(PWD) as it does not work for make -C # Not $(PWD) as it does not work for make -C