Improve OFFICIAL build conditional test
An unofficial build is any build where OFFICIAL != yes. This patch adjusts the conditional accordingly.
This commit is contained in:
parent
eede23ab0d
commit
346d02e3b4
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -50,7 +50,7 @@ RPMSPECDIR= packaging/rpm
|
|||
RPMSPEC = $(RPMSPECDIR)/ansible.spec
|
||||
RPMDIST = $(shell rpm --eval '%{?dist}')
|
||||
RPMRELEASE = 1
|
||||
ifeq ($(OFFICIAL),)
|
||||
ifneq ($(OFFICIAL),yes)
|
||||
RPMRELEASE = 0.git$(DATE)
|
||||
endif
|
||||
RPMNVR = "$(NAME)-$(VERSION)-$(RPMRELEASE)$(RPMDIST)"
|
||||
|
|
Loading…
Reference in a new issue