This is an automated email from the ASF dual-hosted git repository.
guyuqi pushed a commit to branch openEuler-support
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/openEuler-support by this push:
new 648c83897 add support for kafka (#1129)
648c83897 is described below
commit 648c83897e5e3b2fa6eb0dd815a5d612bf58aaf9
Author: MacChen01 <[email protected]>
AuthorDate: Fri Aug 4 11:56:12 2023 +0800
add support for kafka (#1129)
---
bigtop-packages/src/rpm/kafka/SPECS/kafka.spec | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/bigtop-packages/src/rpm/kafka/SPECS/kafka.spec
b/bigtop-packages/src/rpm/kafka/SPECS/kafka.spec
index b6896f594..9e9e13f47 100644
--- a/bigtop-packages/src/rpm/kafka/SPECS/kafka.spec
+++ b/bigtop-packages/src/rpm/kafka/SPECS/kafka.spec
@@ -97,8 +97,12 @@ Requires: %{name} = %{version}-%{release}
# So I will suppose anything that is not Mageia or a SUSE will be a
RHEL/CentOS/Fedora
%if %{!?suse_version:1}0 && %{!?mgaversion:1}0
# Required for init scripts
+%if 0%{?openEuler}
+Requires: openeuler-lsb
+%else
Requires: redhat-lsb
%endif
+%endif
%description server
Bundles the init script for kafka server.