1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Do not set RPMDIST to '%dist' when dist is not set by the distribution.

This commit is contained in:
Patrick Callahan 2013-06-02 13:27:04 -04:00
parent 1c4fa2c45e
commit a37b6a2ad3

View file

@ -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)