diff --git a/package/linux/rpm.mk b/package/linux/rpm.mk index 4fb2c71e2..042492231 100644 --- a/package/linux/rpm.mk +++ b/package/linux/rpm.mk @@ -2,8 +2,8 @@ RPM_NAME := $(PACKAGE_NAME) UPSTREAM_VER := $(subst -,~,$(subst RELEASE-,,$(DIST_LBL))) RPM_REL := 1 RPM_ARCH := $(shell rpm --eval '%{_arch}') -RPM_PACKAGE_NAME := $(RPM_NAME)-$(UPSTREAM_VER)-$(RPM_REL)$(shell rpm --eval '%{?dist}').$(RPM_ARCH).rpm -RPM_PACKAGE_FILE := $(PACKAGE_DIR)/RPMS/$(RPM_ARCH)/$(RPM_PACKAGE_NAME) +RPM_PACKAGE_NAME := $(RPM_NAME)-$(UPSTREAM_VER)-$(RPM_REL) +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 SED_SCRIPT := $(SED_SCRIPT)' \