summaryrefslogtreecommitdiffhomepage
path: root/pkg/rpm/unit.spec.in
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2021-04-08 10:55:30 +0300
committerKonstantin Pavlov <thresh@nginx.com>2021-04-08 10:55:30 +0300
commit30922c5741af0c712f465d0e98b71f8848c0db91 (patch)
tree0c3fd7ef12ceb0a3ddf9a48b4bbf76294da912f0 /pkg/rpm/unit.spec.in
parent6c97a1a069f0ae8cf683c8364fb7f9dabc5e89cb (diff)
downloadunit-30922c5741af0c712f465d0e98b71f8848c0db91.tar.gz
unit-30922c5741af0c712f465d0e98b71f8848c0db91.tar.bz2
Packages: moved Amazon Linux 2 packages to use openssl 1.1
Diffstat (limited to '')
-rw-r--r--pkg/rpm/unit.spec.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/rpm/unit.spec.in b/pkg/rpm/unit.spec.in
index 9d16265d..07ca9e6f 100644
--- a/pkg/rpm/unit.spec.in
+++ b/pkg/rpm/unit.spec.in
@@ -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