From d4b6aecd978736f034a6a2160475f04ec2451d36 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Thu, 8 Nov 2012 00:09:18 +0100 Subject: [PATCH] Fix broken RPM names due to static _rpmfilename --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4afb6404e0..fd4b5f6adc 100644 --- a/Makefile +++ b/Makefile @@ -145,7 +145,7 @@ rpm: rpmcommon --define "_srcrpmdir %{_topdir}" \ --define "_specdir $(RPMSPECDIR)" \ --define "_sourcedir %{_topdir}" \ - --define "_rpmfilename $(RPMNVR).%%{ARCH}.rpm" \ + --define "_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" \ -ba rpm-build/$(NAME).spec @rm -f rpm-build/$(NAME).spec @echo "#############################################"