diff --git a/0001-modify-maven-version-for-3.6.3-to-3.5.4.patch b/0001-modify-maven-version-for-3.6.3-to-3.5.4.patch new file mode 100644 index 0000000..7dc7b7b --- /dev/null +++ b/0001-modify-maven-version-for-3.6.3-to-3.5.4.patch @@ -0,0 +1,25 @@ +From b197048d8dcd5c3567fee87330b41b3938356123 Mon Sep 17 00:00:00 2001 +From: hubble_zhu +Date: Wed, 30 Sep 2020 14:53:42 +0800 +Subject: [PATCH] modify maven version for 3.6.3 to 3.5.4 + +--- + pom.xml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pom.xml b/pom.xml +index 7c60f8f..4b993ee 100644 +--- a/pom.xml ++++ b/pom.xml +@@ -115,7 +115,7 @@ + 1.8 + ${java.version} + ${java.version} +- 3.6.3 ++ 3.5.4 + 1.6.0 + spark + 1.7.30 +-- +2.23.0 + diff --git a/spark.spec b/spark.spec index ec27716..1caa252 100644 --- a/spark.spec +++ b/spark.spec @@ -8,6 +8,8 @@ License: Apache License v2.0 URL: http://spark.apache.org/ Source0: https://github.com/apache/spark/archive/v%{version}.tar.gz +Patch0001: 0001-modify-maven-version-for-3.6.3-to-3.5.4.patch + BuildRequires: java-1.8.0-openjdk-devel BuildRequires: maven @@ -21,6 +23,8 @@ Apache Spark achieves high performance for both batch and streaming data, using %prep %setup -q +%patch0001 -p1 + %build mvn -DskipTests clean package