ソースを参照

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

Zaiming (Stone) Shi 3 年 前
コミット
e7033558f3
1 ファイル変更4 行追加3 行削除
  1. 4 3
      deploy/packages/rpm/emqx.spec

+ 4 - 3
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