Browse code

Improve OFFICIAL build conditional test

An unofficial build is any build where OFFICIAL != yes. This patch adjusts the
conditional accordingly.

James Laska authored on 2014/05/09 03:57:14
Showing 1 changed files
... ...
@@ -50,7 +50,7 @@ RPMSPECDIR= packaging/rpm
50 50
 RPMSPEC = $(RPMSPECDIR)/ansible.spec
51 51
 RPMDIST = $(shell rpm --eval '%{?dist}')
52 52
 RPMRELEASE = 1
53
-ifeq ($(OFFICIAL),)
53
+ifneq ($(OFFICIAL),yes)
54 54
     RPMRELEASE = 0.git$(DATE)
55 55
 endif
56 56
 RPMNVR = "$(NAME)-$(VERSION)-$(RPMRELEASE)$(RPMDIST)"