summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPatrick Callahan <pmc@patrickcallahan.com>2013-06-02 19:27:04 +0200
committerPatrick Callahan <pmc@patrickcallahan.com>2013-06-02 19:27:04 +0200
commita37b6a2ad31e2c24e6d70b68a8b3fbebf9f01320 (patch)
treedfa7b4959f042598702f3dc05ea8675ce7bbf857 /Makefile
parentDoc standardization (diff)
downloadansible-a37b6a2ad31e2c24e6d70b68a8b3fbebf9f01320.tar.xz
ansible-a37b6a2ad31e2c24e6d70b68a8b3fbebf9f01320.zip
Do not set RPMDIST to '%dist' when dist is not set by the distribution.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c04c8bc103..a7a193fcc2 100644
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,7 @@ endif
# RPM build parameters
RPMSPECDIR= packaging/rpm
RPMSPEC = $(RPMSPECDIR)/ansible.spec
-RPMDIST = $(shell rpm --eval '%dist')
+RPMDIST = $(shell rpm --eval '%{?dist}')
RPMRELEASE = 1
ifeq ($(OFFICIAL),)
RPMRELEASE = 0.git$(DATE)