Commit 346d02e3 by James Laska

Improve OFFICIAL build conditional test

An unofficial build is any build where OFFICIAL != yes.  This patch adjusts the
conditional accordingly.
parent eede23ab
......@@ -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)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment