mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
LP-175 fix RPM_PACKAGE_NAME in make
so it can tell a src rpm has been built
This commit is contained in:
parent
8c3beaa28c
commit
b1f6d66fca
@ -2,8 +2,8 @@ RPM_NAME := $(PACKAGE_NAME)
|
|||||||
UPSTREAM_VER := $(subst -,~,$(subst RELEASE-,,$(DIST_LBL)))
|
UPSTREAM_VER := $(subst -,~,$(subst RELEASE-,,$(DIST_LBL)))
|
||||||
RPM_REL := 1
|
RPM_REL := 1
|
||||||
RPM_ARCH := $(shell rpm --eval '%{_arch}')
|
RPM_ARCH := $(shell rpm --eval '%{_arch}')
|
||||||
RPM_PACKAGE_NAME := $(RPM_NAME)-$(UPSTREAM_VER)-$(RPM_REL)$(shell rpm --eval '%{?dist}').$(RPM_ARCH).rpm
|
RPM_PACKAGE_NAME := $(RPM_NAME)-$(UPSTREAM_VER)-$(RPM_REL)
|
||||||
RPM_PACKAGE_FILE := $(PACKAGE_DIR)/RPMS/$(RPM_ARCH)/$(RPM_PACKAGE_NAME)
|
RPM_PACKAGE_FILE := $(PACKAGE_DIR)/RPMS/$(RPM_ARCH)/$(RPM_PACKAGE_NAME)$(shell rpm --eval '%{?dist}').$(RPM_ARCH).rpm
|
||||||
RPM_PACKAGE_SRC := $(PACKAGE_DIR)/SRPMS/$(RPM_PACKAGE_NAME).src.rpm
|
RPM_PACKAGE_SRC := $(PACKAGE_DIR)/SRPMS/$(RPM_PACKAGE_NAME).src.rpm
|
||||||
|
|
||||||
SED_SCRIPT := $(SED_SCRIPT)' \
|
SED_SCRIPT := $(SED_SCRIPT)' \
|
||||||
|
Loading…
Reference in New Issue
Block a user