summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPatrick Callahan <pmc@patrickcallahan.com>2013-06-02 13:27:04 -0400
committerPatrick Callahan <pmc@patrickcallahan.com>2013-06-02 13:27:04 -0400
commita37b6a2ad31e2c24e6d70b68a8b3fbebf9f01320 (patch)
treedfa7b4959f042598702f3dc05ea8675ce7bbf857 /Makefile
parent1c4fa2c45eae427f62a740d34cb4c75c4e456614 (diff)
downloadansible-a37b6a2ad31e2c24e6d70b68a8b3fbebf9f01320.tar.gz
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)