Packages: moved Amazon Linux 2 packages to use openssl 1.1
This commit is contained in:
@@ -41,8 +41,12 @@ endif
|
||||
ifneq (,$(findstring $(OSVER),opensuse-leap opensuse-tumbleweed sles))
|
||||
BUILD_DEPENDS_unit += libxml2-tools libxslt1 libopenssl-devel
|
||||
else
|
||||
ifneq (,$(findstring $(OSVER),amazonlinux2))
|
||||
BUILD_DEPENDS_unit += libxml2 libxslt openssl11-devel
|
||||
else
|
||||
BUILD_DEPENDS_unit += libxml2 libxslt openssl-devel
|
||||
endif
|
||||
endif
|
||||
|
||||
BUILD_DEPENDS = $(BUILD_DEPENDS_unit)
|
||||
|
||||
|
||||
@@ -4,8 +4,12 @@
|
||||
|
||||
%if 0%{?rhel}%{?fedora}
|
||||
BuildRequires: gcc
|
||||
%if 0%{?amzn2}
|
||||
BuildRequires: openssl11-devel
|
||||
%else
|
||||
BuildRequires: openssl-devel
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if 0%{?rhel}
|
||||
%if 0%{?amzn} == 0
|
||||
|
||||
Reference in New Issue
Block a user