From 6b774f8cf5202a5a20b2f7004a08c736b189d2b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag=20Wie=C3=ABrs?= Date: Wed, 1 Aug 2012 15:25:19 +0200 Subject: [PATCH] Place the freshly built RPM directly into rpm-build/ So we get the exact behavior as the SRPM build --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6cb7e32478..ba0d94f021 100644 --- a/Makefile +++ b/Makefile @@ -133,11 +133,12 @@ rpm: rpmcommon --define "_srcrpmdir %{_topdir}" \ --define "_specdir $(RPMSPECDIR)" \ --define "_sourcedir %{_topdir}" \ + --define "_rpmfilename $(RPMNVR).%%{ARCH}.rpm" \ -ba rpm-build/$(NAME).spec @rm -f rpm-build/$(NAME).spec @echo "#############################################" @echo "Ansible RPM is built:" - @echo " rpm-build/noarch/$(RPMNVR).noarch.rpm" + @echo " rpm-build/$(RPMNVR).noarch.rpm" @echo "#############################################" debian: sdist