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)