mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-03 23:14:02 -07:00
Teach 'make rpm' to build on RHEL5/SL5 etc...
This commit is contained in:
parent
8c6caa2762
commit
40ca1d4b3e
2 changed files with 19 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -154,6 +154,7 @@ rpm: rpmcommon
|
|||
--define "_specdir $(RPMSPECDIR)" \
|
||||
--define "_sourcedir %{_topdir}" \
|
||||
--define "_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm" \
|
||||
--define "__python `which $(PYTHON)`" \
|
||||
-ba rpm-build/$(NAME).spec
|
||||
@rm -f rpm-build/$(NAME).spec
|
||||
@echo "#############################################"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue