Do not set RPMDIST to '%dist' when dist is not set by the distribution.
This commit is contained in:
parent
1c4fa2c45e
commit
a37b6a2ad3
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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)
|
||||
|
|
Loading…
Reference in a new issue