summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/Makefile
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2023-03-22 16:55:36 -0700
committerKonstantin Pavlov <thresh@nginx.com>2023-03-22 16:55:36 -0700
commit24243ecab3ed119b9c91664ccbe368e492c2efe7 (patch)
tree6a2b587311ef8b428a81af3eea763b723ab048d1 /pkg/rpm/Makefile
parent700ee28bbfe9b50482e6d34734c856f829bbe23f (diff)
downloadunit-24243ecab3ed119b9c91664ccbe368e492c2efe7.tar.gz
unit-24243ecab3ed119b9c91664ccbe368e492c2efe7.tar.bz2
Packages: Added Amazon Linux 2023.
Diffstat (limited to 'pkg/rpm/Makefile')
-rw-r--r--pkg/rpm/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/rpm/Makefile b/pkg/rpm/Makefile
index 93502942..0aa6beb2 100644
--- a/pkg/rpm/Makefile
+++ b/pkg/rpm/Makefile
@@ -18,6 +18,8 @@ else ifeq ($(shell rpm --eval "%{?rhel}"), 9)
OSVER = centos9
else ifeq ($(shell rpm --eval "%{?amzn}"), 2)
OSVER = amazonlinux2
+else ifeq ($(shell rpm --eval "%{?amzn}"), 2023)
+OSVER = amazonlinux2023
else ifeq ($(shell test `rpm --eval '0%{?fedora} -ge 35 -a 0%{?fedora} -le 36'`; echo $$?),0)
OSVER = fedora
else ifeq ($(shell test `rpm --eval '0%{?fedora} -ge 37'`; echo $$?),0)
@@ -84,6 +86,16 @@ include Makefile.jsc-common
include Makefile.jsc8
endif
+ifeq ($(OSVER), amazonlinux2023)
+include Makefile.php
+include Makefile.python39
+include Makefile.python311
+include Makefile.go
+include Makefile.perl
+include Makefile.jsc-common
+include Makefile.jsc17
+endif
+
ifeq ($(OSVER), fedora)
include Makefile.php
include Makefile.python310