This is an automated email from the ASF dual-hosted git repository.

iwasakims pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bigtop.git


The following commit(s) were added to refs/heads/master by this push:
     new 02e7b86e9 BIGTOP-4386. Fix build failure of ZooKeeper on 
openeuler-22.03. (#1338)
02e7b86e9 is described below

commit 02e7b86e9091fa1d6517ecebba453278af46eb45
Author: Masatake Iwasaki <[email protected]>
AuthorDate: Tue Mar 25 10:33:33 2025 +0900

    BIGTOP-4386. Fix build failure of ZooKeeper on openeuler-22.03. (#1338)
---
 bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec 
b/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec
index 0a532ae97..22b46d193 100644
--- a/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec
+++ b/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec
@@ -92,7 +92,12 @@ Source9: zookeeper-rest.svc
 Source10: %{svc_zookeeper}.service
 Source11: %{svc_zookeeper}.tmpfile
 #BIGTOP_PATCH_FILES
-BuildRequires: autoconf, automake, cppunit-devel, systemd, systemd-rpm-macros
+BuildRequires: autoconf, automake, cppunit-devel, systemd
+
+%if 0%{?openEuler} == 0
+BuildRequires: systemd-rpm-macros
+%endif
+
 Requires(pre): coreutils, /usr/sbin/groupadd, /usr/sbin/useradd
 Requires(post): %{alternatives_dep}
 Requires(preun): %{alternatives_dep}

Reply via email to