From e7033558f3e735fd9f83d2dd66ef457f34781867 Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Tue, 19 Apr 2022 21:24:47 +0200 Subject: [PATCH] fix(emqx.spec): bad dependency list for el7 and el8 --- deploy/packages/rpm/emqx.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/deploy/packages/rpm/emqx.spec b/deploy/packages/rpm/emqx.spec index 99d236736..26a223b88 100644 --- a/deploy/packages/rpm/emqx.spec +++ b/deploy/packages/rpm/emqx.spec @@ -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