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 f45557d97 add support for ycsb (#1151)
f45557d97 is described below

commit f45557d97210924d23bd109d86ad761cddc2cc83
Author: MacChen01 <[email protected]>
AuthorDate: Thu Aug 3 16:38:27 2023 +0800

    add support for ycsb (#1151)
---
 bigtop-packages/src/rpm/ycsb/SPECS/ycsb.spec | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/bigtop-packages/src/rpm/ycsb/SPECS/ycsb.spec 
b/bigtop-packages/src/rpm/ycsb/SPECS/ycsb.spec
index 1b5832ac3..752927eda 100644
--- a/bigtop-packages/src/rpm/ycsb/SPECS/ycsb.spec
+++ b/bigtop-packages/src/rpm/ycsb/SPECS/ycsb.spec
@@ -36,7 +36,12 @@ Source3: bigtop.bom
 #BIGTOP_PATCH_FILES
 ## This package _explicitly_ turns off the auto-discovery of required 
dependencies
 ## to work around OSGI corner case, added to RPM lately. See BIGTOP-2421 for 
more info.
+## python2 be compiled manually and install, not installed by rpm in openEuler
+%if 0%{?openEuler}
+Requires: coreutils, bigtop-utils >= 0.7
+%else
 Requires: coreutils, bigtop-utils >= 0.7, python2
+%endif
 AutoReq: no
 
 %description 

Reply via email to