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

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