From 346d02e3b4aa57037472385bed56b95d3d706918 Mon Sep 17 00:00:00 2001 From: James Laska Date: Thu, 8 May 2014 14:57:14 -0400 Subject: [PATCH] Improve OFFICIAL build conditional test An unofficial build is any build where OFFICIAL != yes. This patch adjusts the conditional accordingly. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9ccf9b4e96c..3568931f9a4 100644 --- a/Makefile +++ b/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)"