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:
James Laska 2014-05-08 14:57:14 -04:00
parent eede23ab0d
commit 346d02e3b4

View file

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