Place the freshly built RPM directly into rpm-build/

So we get the exact behavior as the SRPM build
pull/748/head
Dag Wieërs 12 years ago
parent ec7c8eb8ca
commit 6b774f8cf5

@ -133,11 +133,12 @@ rpm: rpmcommon
--define "_srcrpmdir %{_topdir}" \ --define "_srcrpmdir %{_topdir}" \
--define "_specdir $(RPMSPECDIR)" \ --define "_specdir $(RPMSPECDIR)" \
--define "_sourcedir %{_topdir}" \ --define "_sourcedir %{_topdir}" \
--define "_rpmfilename $(RPMNVR).%%{ARCH}.rpm" \
-ba rpm-build/$(NAME).spec -ba rpm-build/$(NAME).spec
@rm -f rpm-build/$(NAME).spec @rm -f rpm-build/$(NAME).spec
@echo "#############################################" @echo "#############################################"
@echo "Ansible RPM is built:" @echo "Ansible RPM is built:"
@echo " rpm-build/noarch/$(RPMNVR).noarch.rpm" @echo " rpm-build/$(RPMNVR).noarch.rpm"
@echo "#############################################" @echo "#############################################"
debian: sdist debian: sdist

Loading…
Cancel
Save