Place the freshly built RPM directly into rpm-build/
So we get the exact behavior as the SRPM build
This commit is contained in:
parent
ec7c8eb8ca
commit
6b774f8cf5
1 changed files with 2 additions and 1 deletions
3
Makefile
3
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
|
||||
|
|
Loading…
Reference in a new issue