summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag Wieërs <dag@wieers.com>2012-08-01 15:25:19 +0200
committerDag Wieërs <dag@wieers.com>2012-08-01 15:25:19 +0200
commit6b774f8cf5202a5a20b2f7004a08c736b189d2b5 (patch)
tree0b6152773d4f7683e525c1e8b136239ffc034526
parentec7c8eb8ca85c584ca80e215bbb2397c24a14687 (diff)
downloadansible-6b774f8cf5202a5a20b2f7004a08c736b189d2b5.tar.gz
Place the freshly built RPM directly into rpm-build/
So we get the exact behavior as the SRPM build
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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