This is an automated email from the ASF dual-hosted git repository.
iwasakims pushed a commit to branch branch-3.4
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/branch-3.4 by this push:
new 3f7ac7cfa BIGTOP-4385. Fix build failure of Hadoop on openeuler-22.03.
(#1339)
3f7ac7cfa is described below
commit 3f7ac7cfa946c602f8c75a3a40b01eb96910eaa6
Author: Masatake Iwasaki <[email protected]>
AuthorDate: Tue Mar 25 10:47:53 2025 +0900
BIGTOP-4385. Fix build failure of Hadoop on openeuler-22.03. (#1339)
(cherry picked from commit f61272d8f257e34d8f177c8fb27bf1bf44f1ea97)
---
bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec
b/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec
index 118bee0c3..2e3879a05 100644
--- a/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec
+++ b/bigtop-packages/src/rpm/hadoop/SPECS/hadoop.spec
@@ -194,7 +194,7 @@ Source45: hadoop-hdfs.tmpfile
#BIGTOP_PATCH_FILES
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id} -u -n)
-BuildRequires: fuse-devel, fuse, systemd, systemd-rpm-macros
+BuildRequires: fuse-devel, fuse, systemd
Requires: coreutils, /usr/sbin/useradd, /usr/sbin/usermod, /sbin/chkconfig,
/sbin/service, bigtop-utils >= 0.7, %{zookeeper_pkg_name} >= 3.4.0
Requires: psmisc, %{netcat_package}
Requires: openssl-devel
@@ -215,7 +215,7 @@ Requires: sh-utils, insserv
%if 0%{?openEuler}
BuildRequires: pkgconfig, fuse-libs, openEuler-rpm-config, lzo-devel,
openssl-devel
%else
-BuildRequires: pkgconfig, fuse-libs, redhat-rpm-config, lzo-devel,
openssl-devel
+BuildRequires: pkgconfig, fuse-libs, redhat-rpm-config, lzo-devel,
openssl-devel, systemd-rpm-macros
%endif
# Required for init scripts
Requires: coreutils, /lib/lsb/init-functions