diff options
author | Jimmy Tang <jtang@tchpc.tcd.ie> | 2013-03-11 15:22:37 +0000 |
---|---|---|
committer | Jimmy Tang <jtang@tchpc.tcd.ie> | 2013-03-11 15:37:03 +0000 |
commit | 40ca1d4b3e5db2833aed30dbb4e9766466acbed5 (patch) | |
tree | 2bf68beb9a14228b044c354276a9d31f028763cd /Makefile | |
parent | 8c6caa2762988eb7aa3b2549d98cb7a25dc2e5e3 (diff) | |
download | ansible-40ca1d4b3e5db2833aed30dbb4e9766466acbed5.tar.gz |
Teach 'make rpm' to build on RHEL5/SL5 etc...
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 "#############################################" |