summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2021-04-12 18:39:45 +0300
committerKonstantin Pavlov <thresh@nginx.com>2021-04-12 18:39:45 +0300
commitd5889d7daa1c404af72bba830c5337ad6502d850 (patch)
tree9beb0555dee2e995b02e3dca4f03363f350f7384
parent74b1b1fc17726d805b00dee6b5547254f5cf230c (diff)
downloadunit-d5889d7daa1c404af72bba830c5337ad6502d850.tar.gz
unit-d5889d7daa1c404af72bba830c5337ad6502d850.tar.bz2
Packages: fixed Amazon Linux 2 module packages to use openssl 1.1
Diffstat (limited to '')
-rw-r--r--pkg/rpm/unit.module.spec.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/rpm/unit.module.spec.in b/pkg/rpm/unit.module.spec.in
index 39083e66..101b4991 100644
--- a/pkg/rpm/unit.module.spec.in
+++ b/pkg/rpm/unit.module.spec.in
@@ -9,8 +9,12 @@
%if 0%{?rhel}%{?fedora}
BuildRequires: gcc
+%if 0%{?amzn2}
+BuildRequires: openssl11-devel
+%else
BuildRequires: openssl-devel
%endif
+%endif
%if 0%{?suse_version} >= 1315
BuildRequires: libopenssl-devel