Przeglądaj źródła

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

Zaiming (Stone) Shi 3 lat temu
rodzic
commit
e7033558f3
1 zmienionych plików z 4 dodań i 3 usunięć
  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}
 Provides: %{_name}
 AutoReq: 0
 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
 %else
-Requires: libatomic
+Requires: libatomic procps which findutils
 %endif
 %endif
 
 
 %description
 %description