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:
parent
eede23ab0d
commit
346d02e3b4
1 changed files with 1 additions and 1 deletions
2
Makefile
2
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)"
|
||||
|
|
Loading…
Reference in a new issue