mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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 "_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…
Reference in a new issue