diff options
author | Andrei Belov <defan@nginx.com> | 2020-12-24 16:17:27 +0300 |
---|---|---|
committer | Andrei Belov <defan@nginx.com> | 2020-12-24 16:17:27 +0300 |
commit | c981ac6558440f42670fc0a3d3857a3bb10e1f0a (patch) | |
tree | b2d808953f438951b0d736214b52766b76a01171 /pkg/rpm/Makefile | |
parent | c369e25ae7e3de7759c5950a2a84870cc1a8401f (diff) | |
download | unit-c981ac6558440f42670fc0a3d3857a3bb10e1f0a.tar.gz unit-c981ac6558440f42670fc0a3d3857a3bb10e1f0a.tar.bz2 |
Packages: fixed an ability to override package version.
This was broken since 00d8049418cf.
Diffstat (limited to 'pkg/rpm/Makefile')
-rw-r--r-- | pkg/rpm/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/rpm/Makefile b/pkg/rpm/Makefile index 80418149..285e0857 100644 --- a/pkg/rpm/Makefile +++ b/pkg/rpm/Makefile @@ -2,9 +2,10 @@ include ../../version +DEFAULT_VERSION := $(NXT_VERSION) DEFAULT_RELEASE := 1 -VERSION ?= $(NXT_VERSION) +VERSION ?= $(DEFAULT_VERSION) RELEASE ?= $(DEFAULT_RELEASE) ifeq ($(shell test `rpm --eval '0%{?rhel} -eq 6 -a 0%{?amzn} -eq 0'`; echo $$?), 0) |