BIGTOP-3416. Fix YCSB to work with CentOS 8 and Fedora 31. (#681)

diff --git a/bigtop-packages/src/common/ycsb/patch0-python-executable-version.diff b/bigtop-packages/src/common/ycsb/patch0-python-executable-version.diff
new file mode 100644
index 0000000..30d14ae
--- /dev/null
+++ b/bigtop-packages/src/common/ycsb/patch0-python-executable-version.diff
@@ -0,0 +1,10 @@
+diff --git a/bin/ycsb b/bin/ycsb
+index 72e218a5..7421e981 100755
+--- a/bin/ycsb
++++ b/bin/ycsb
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python2
+ #
+ # Copyright (c) 2012 - 2015 YCSB contributors. All rights reserved.
+ #
diff --git a/bigtop-packages/src/rpm/ycsb/SPECS/ycsb.spec b/bigtop-packages/src/rpm/ycsb/SPECS/ycsb.spec
index 25bc157..1b5832a 100644
--- a/bigtop-packages/src/rpm/ycsb/SPECS/ycsb.spec
+++ b/bigtop-packages/src/rpm/ycsb/SPECS/ycsb.spec
@@ -33,9 +33,10 @@
 Source1: do-component-build 
 Source2: install_%{ycsb_name}.sh
 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.
-Requires: coreutils, bigtop-utils >= 0.7, python
+Requires: coreutils, bigtop-utils >= 0.7, python2
 AutoReq: no
 
 %description 
@@ -47,6 +48,8 @@
 %prep
 %setup -n YCSB-%{ycsb_base_version}
 
+#BIGTOP_PATCH_COMMANDS
+
 %build
 bash $RPM_SOURCE_DIR/do-component-build