Packages: added Python 3 support on Amazon Linux 2 (LTS).
This commit is contained in:
@@ -17,7 +17,7 @@ ifneq (,$(findstring $(OSVER),opensuse-leap opensuse-tumbleweed sles))
|
||||
BUILD_DEPENDS_python27= python-devel
|
||||
else ifneq (,$(findstring $(OSVER),fedora centos8))
|
||||
BUILD_DEPENDS_python27= python2-devel
|
||||
else ifneq (,$(findstring $(OSVER),centos7))
|
||||
else ifneq (,$(findstring $(OSVER),centos7 amazonlinux2))
|
||||
BUILD_DEPENDS_python27= python-devel
|
||||
else
|
||||
BUILD_DEPENDS_python27= python27-devel
|
||||
@@ -26,7 +26,7 @@ endif
|
||||
BUILD_DEPENDS+= $(BUILD_DEPENDS_python27)
|
||||
|
||||
define MODULE_DEFINITIONS_python27
|
||||
%if (0%{?rhel} == 7)
|
||||
%if (0%{?rhel} == 7) || (0%{?amzn} == 2)
|
||||
Obsoletes: unit-python
|
||||
%endif
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user