Merge pull request #5605 from qzhuyan/dev/william/centos7-rpm-spec-openssl11

chore: centos7 add openssl11 dep in rpm spec
This commit is contained in:
William Yang 2021-09-02 12:07:39 +02:00 committed by GitHub
commit da4e3f47a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -91,6 +91,8 @@ emqx_test(){
;;
"rpm")
packagename=$(basename "${PACKAGE_PATH}/${EMQX_NAME}"-*.rpm)
# EMQX OTP requires openssl11 to have TLS1.3 support
yum install -y openssl11
rpm -ivh "${PACKAGE_PATH}/${packagename}"
if ! rpm -q emqx | grep -q emqx; then
echo "package install error"

View File

@ -19,6 +19,12 @@ BuildRoot: %{_tmppath}/%{_name}-%{_version}-root
Provides: %{_name}
AutoReq: 0
%if 0%{?rhel} == 7
Requires: openssl11 libatomic
%else
Requires: libatomic
%endif
%description
EMQX, a distributed, massively scalable, highly extensible MQTT message broker written in Erlang/OTP.