fix(emqx.spec): bad dependency list for el7 and el8

This commit is contained in:
Zaiming (Stone) Shi 2022-04-19 21:24:47 +02:00
parent 5d10071319
commit e7033558f3
1 changed files with 4 additions and 3 deletions

View File

@ -19,10 +19,11 @@ BuildRoot: %{_tmppath}/%{_name}-%{_version}-root
Provides: %{_name}
AutoReq: 0
%if "%{_arch} %{?rhel}" == "amd64 7"
Requires: openssl11 libatomic
# package name openssl11 is from epel-release, and only applicable for rhel 7
%if "%{_arch} %{?rhel}" == "x86_64 7"
Requires: openssl11 libatomic procps which findutils
%else
Requires: libatomic
Requires: libatomic procps which findutils
%endif
%description