mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
Do not set RPMDIST to '%dist' when dist is not set by the distribution.
This commit is contained in:
2
Makefile
2
Makefile
@@ -52,7 +52,7 @@ endif
|
|||||||
# RPM build parameters
|
# RPM build parameters
|
||||||
RPMSPECDIR= packaging/rpm
|
RPMSPECDIR= packaging/rpm
|
||||||
RPMSPEC = $(RPMSPECDIR)/ansible.spec
|
RPMSPEC = $(RPMSPECDIR)/ansible.spec
|
||||||
RPMDIST = $(shell rpm --eval '%dist')
|
RPMDIST = $(shell rpm --eval '%{?dist}')
|
||||||
RPMRELEASE = 1
|
RPMRELEASE = 1
|
||||||
ifeq ($(OFFICIAL),)
|
ifeq ($(OFFICIAL),)
|
||||||
RPMRELEASE = 0.git$(DATE)
|
RPMRELEASE = 0.git$(DATE)
|
||||||
|
|||||||
Reference in New Issue
Block a user