Browse Source

Merge pull request #11093 from id/0619-rpm-support-amazonlinux-2023

fix(rpm): add missing dependencies for Amazon Linux 2023
Ivan Dyachkov 2 years ago
parent
commit
b990db658e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      deploy/packages/rpm/emqx.spec

+ 4 - 0
deploy/packages/rpm/emqx.spec

@@ -23,8 +23,12 @@ AutoReq: 0
 %if "%{_arch} %{?rhel}" == "x86_64 7"
 Requires: openssl11 libatomic procps which findutils
 %else
+%if "%{?dist}" == ".amzn2023"
+Requires: libatomic procps which findutils ncurses util-linux shadow-utils
+%else
 Requires: libatomic procps which findutils
 %endif
+%endif
 
 %description
 EMQX, a distributed, massively scalable, highly extensible MQTT message broker.