Place the freshly built RPM directly into rpm-build/

So we get the exact behavior as the SRPM build
This commit is contained in:
Dag Wieërs 2012-08-01 15:25:19 +02:00
parent ec7c8eb8ca
commit 6b774f8cf5

View file

@ -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