Compare commits

..

No commits in common. "aa36ee93901895ee072296ede7b5dc038d909cee" and "944d0aea691d8ba1bdaf416195f115e89f21c8ee" have entirely different histories.

4 changed files with 31 additions and 27 deletions

View File

@ -1,12 +0,0 @@
diff -Naur spark-3.2.2/pom.xml spark-3.2.2-change/pom.xml
--- spark-3.2.2/pom.xml 2022-07-11 23:13:02.000000000 +0800
+++ spark-3.2.2-change/pom.xml 2022-07-30 04:40:32.025984410 +0800
@@ -3199,7 +3199,7 @@
<plugin>
<groupId>org.antipathy</groupId>
<artifactId>mvn-scalafmt_${scala.binary.version}</artifactId>
- <version>1.0.4</version>
+ <version>1.0.3</version>
<configuration>
<parameters>${scalafmt.parameters}</parameters> <!-- (Optional) Additional command line arguments -->
<skip>${scalafmt.skip}</skip> <!-- (Optional) skip formatting -->

View File

@ -0,0 +1,25 @@
From b197048d8dcd5c3567fee87330b41b3938356123 Mon Sep 17 00:00:00 2001
From: hubble_zhu <hubble_zhu@qq.com>
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 @@
<java.version>1.8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
- <maven.version>3.6.3</maven.version>
+ <maven.version>3.5.4</maven.version>
<exec-maven-plugin.version>1.6.0</exec-maven-plugin.version>
<sbt.project.name>spark</sbt.project.name>
<slf4j.version>1.7.30</slf4j.version>
--
2.23.0

View File

@ -3,20 +3,20 @@
Summary: A unified analytics engine for large-scale data processing.
Name: spark
Version: 3.2.2
Release: 2
License: Apache 2.0
Version: 3.0.1
Release: 1.0
License: Apache License v2.0
URL: http://spark.apache.org/
Source0: https://github.com/apache/spark/archive/v%{version}.tar.gz
Patch0001: 0001-change-mvn-scalafmt.patch
Patch0001: 0001-modify-maven-version-for-3.6.3-to-3.5.4.patch
BuildRequires: java-1.8.0-openjdk-devel
BuildRequires: maven
Requires: java-1.8.0-openjdk
ExclusiveArch: x86_64 aarch64 ppc64le
ExclusiveArch: x86_64 aarch64
%description
Apache Spark achieves high performance for both batch and streaming data, using a state-of-the-art DAG scheduler, a query optimizer, and a physical execution engine.
@ -27,7 +27,7 @@ Apache Spark achieves high performance for both batch and streaming data, using
%patch0001 -p1
%build
mvn -DskipTests -Dmaven.test.skip=true clean package
mvn -DskipTests clean package
%install
mkdir -p %{buildroot}/opt/
@ -38,15 +38,6 @@ cp -rf ../%{name}-%{version} %{buildroot}/opt/apache-%{name}-%{version}
%changelog
* Tue Mar 12 2024 peng.zou <peng.zou@shingroup.cn> - 3.2.2-2
- add ppc64le support
* Wed Aug 10 2022 xiexing <xiexing4@hisilicon.com> - 3.2.2-1
- update spark version
* Fri Nov 12 2021 Wuzeyiii<wuzeyi1@huawei.com> - 1.2
- Update spark version
* Fri Sep 18 2020 Hubble_Zhu<hubble_zhu@qq.com> - 1.0
- Init package

Binary file not shown.