Fix broken RPM names due to static _rpmfilename
This commit is contained in:
parent
ab0f972715
commit
d4b6aecd97
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -145,7 +145,7 @@ rpm: rpmcommon
|
||||||
--define "_srcrpmdir %{_topdir}" \
|
--define "_srcrpmdir %{_topdir}" \
|
||||||
--define "_specdir $(RPMSPECDIR)" \
|
--define "_specdir $(RPMSPECDIR)" \
|
||||||
--define "_sourcedir %{_topdir}" \
|
--define "_sourcedir %{_topdir}" \
|
||||||
--define "_rpmfilename $(RPMNVR).%%{ARCH}.rpm" \
|
--define "_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" \
|
||||||
-ba rpm-build/$(NAME).spec
|
-ba rpm-build/$(NAME).spec
|
||||||
@rm -f rpm-build/$(NAME).spec
|
@rm -f rpm-build/$(NAME).spec
|
||||||
@echo "#############################################"
|
@echo "#############################################"
|
||||||
|
|
Loading…
Reference in a new issue