You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by iw...@apache.org on 2024/04/18 02:33:50 UTC
(bigtop) branch master updated: BIGTOP-4073: spark support python3 in rockylinux 9 (#1256)
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 318b47cac BIGTOP-4073: spark support python3 in rockylinux 9 (#1256)
318b47cac is described below
commit 318b47cacd8dfc037eaad77c2296be691d767a2a
Author: Mac Chen <ch...@163.com>
AuthorDate: Thu Apr 18 10:33:44 2024 +0800
BIGTOP-4073: spark support python3 in rockylinux 9 (#1256)
---
bigtop-packages/src/rpm/spark/SPECS/spark.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bigtop-packages/src/rpm/spark/SPECS/spark.spec b/bigtop-packages/src/rpm/spark/SPECS/spark.spec
index e213a117b..146326dc1 100644
--- a/bigtop-packages/src/rpm/spark/SPECS/spark.spec
+++ b/bigtop-packages/src/rpm/spark/SPECS/spark.spec
@@ -116,8 +116,9 @@ Server for Spark worker
%package -n %{spark_pkg_name}-python
Summary: Python client for Spark
Group: Development/Libraries
+# BIGTOP-4073 rockylinux 8 use python2, rockylinux 9 use python3
%if 0%{?rhel} >= 8 || 0%{?openEuler}
-%if 0%{?rhel} >= 8
+%if 0%{?rhel} == 8
Requires: %{spark_pkg_name}-core = %{version}-%{release}, python2
%else
Requires: %{spark_pkg_name}-core = %{version}-%{release}, python3