diff options
author | Dag Wieërs <dag@wieers.com> | 2012-08-01 15:25:19 +0200 |
---|---|---|
committer | Dag Wieërs <dag@wieers.com> | 2012-08-01 15:25:19 +0200 |
commit | 6b774f8cf5202a5a20b2f7004a08c736b189d2b5 (patch) | |
tree | 0b6152773d4f7683e525c1e8b136239ffc034526 | |
parent | ec7c8eb8ca85c584ca80e215bbb2397c24a14687 (diff) | |
download | ansible-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-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |