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:
commit
da4e3f47a3
|
@ -91,6 +91,8 @@ emqx_test(){
|
||||||
;;
|
;;
|
||||||
"rpm")
|
"rpm")
|
||||||
packagename=$(basename "${PACKAGE_PATH}/${EMQX_NAME}"-*.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}"
|
rpm -ivh "${PACKAGE_PATH}/${packagename}"
|
||||||
if ! rpm -q emqx | grep -q emqx; then
|
if ! rpm -q emqx | grep -q emqx; then
|
||||||
echo "package install error"
|
echo "package install error"
|
||||||
|
|
|
@ -19,6 +19,12 @@ BuildRoot: %{_tmppath}/%{_name}-%{_version}-root
|
||||||
Provides: %{_name}
|
Provides: %{_name}
|
||||||
AutoReq: 0
|
AutoReq: 0
|
||||||
|
|
||||||
|
%if 0%{?rhel} == 7
|
||||||
|
Requires: openssl11 libatomic
|
||||||
|
%else
|
||||||
|
Requires: libatomic
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
EMQX, a distributed, massively scalable, highly extensible MQTT message broker written in Erlang/OTP.
|
EMQX, a distributed, massively scalable, highly extensible MQTT message broker written in Erlang/OTP.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue