Packages: moved Amazon Linux 2 packages to use openssl 1.1

This commit is contained in:
Konstantin Pavlov
2021-04-08 10:55:30 +03:00
parent 6c97a1a069
commit 30922c5741
2 changed files with 8 additions and 0 deletions

View File

@@ -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)

View File

@@ -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