Packaging: added support for RHEL 9.
This commit is contained in:
@@ -16,6 +16,8 @@ else ifeq ($(shell test `rpm --eval '0%{?rhel} -eq 7 -a 0%{?amzn} -eq 0'`; echo
|
||||
OSVER = centos7
|
||||
else ifeq ($(shell rpm --eval "%{?rhel}"), 8)
|
||||
OSVER = centos8
|
||||
else ifeq ($(shell rpm --eval "%{?rhel}"), 9)
|
||||
OSVER = centos9
|
||||
else ifeq ($(shell rpm --eval "%{?amzn}"), 1)
|
||||
OSVER = amazonlinux1
|
||||
else ifeq ($(shell rpm --eval "%{?amzn}"), 2)
|
||||
@@ -84,6 +86,16 @@ include Makefile.jsc8
|
||||
include Makefile.jsc11
|
||||
endif
|
||||
|
||||
ifeq ($(OSVER), centos9)
|
||||
include Makefile.php
|
||||
include Makefile.python39
|
||||
include Makefile.go
|
||||
include Makefile.perl
|
||||
include Makefile.jsc-common
|
||||
include Makefile.jsc8
|
||||
include Makefile.jsc11
|
||||
endif
|
||||
|
||||
ifeq ($(OSVER), amazonlinux1)
|
||||
include Makefile.php
|
||||
include Makefile.python27
|
||||
|
||||
@@ -13,7 +13,7 @@ MODULE_INSTARGS_python39= python3.9-install
|
||||
MODULE_SOURCES_python39= unit.example-python-app \
|
||||
unit.example-python39-config
|
||||
|
||||
ifneq (,$(findstring $(OSVER),opensuse-tumbleweed sles fedora amazonlinux2))
|
||||
ifneq (,$(findstring $(OSVER),opensuse-tumbleweed sles fedora amazonlinux2 centos9))
|
||||
BUILD_DEPENDS_python39= python3-devel
|
||||
else
|
||||
BUILD_DEPENDS_python39= python39-devel
|
||||
|
||||
Reference in New Issue
Block a user