From a37b6a2ad31e2c24e6d70b68a8b3fbebf9f01320 Mon Sep 17 00:00:00 2001 From: Patrick Callahan Date: Sun, 2 Jun 2013 13:27:04 -0400 Subject: [PATCH] Do not set RPMDIST to '%dist' when dist is not set by the distribution. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c04c8bc1033..a7a193fcc21 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)