Compare commits
10 Commits
944d0aea69
...
aa36ee9390
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aa36ee9390 | ||
|
|
24b1f0ec5c | ||
|
|
87eb192e47 | ||
|
|
a43f3a57b5 | ||
|
|
a7a2e41fb7 | ||
|
|
4c1c5f3bc6 | ||
|
|
f2cbc73b2d | ||
|
|
160af556e8 | ||
|
|
7a4f01b002 | ||
|
|
aba00493fa |
12
0001-change-mvn-scalafmt.patch
Normal file
12
0001-change-mvn-scalafmt.patch
Normal file
@ -0,0 +1,12 @@
|
||||
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 -->
|
||||
@ -1,25 +0,0 @@
|
||||
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
|
||||
|
||||
21
spark.spec
21
spark.spec
@ -3,20 +3,20 @@
|
||||
|
||||
Summary: A unified analytics engine for large-scale data processing.
|
||||
Name: spark
|
||||
Version: 3.0.1
|
||||
Release: 1.0
|
||||
License: Apache License v2.0
|
||||
Version: 3.2.2
|
||||
Release: 2
|
||||
License: Apache 2.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
|
||||
Patch0001: 0001-change-mvn-scalafmt.patch
|
||||
|
||||
BuildRequires: java-1.8.0-openjdk-devel
|
||||
BuildRequires: maven
|
||||
|
||||
Requires: java-1.8.0-openjdk
|
||||
|
||||
ExclusiveArch: x86_64 aarch64
|
||||
ExclusiveArch: x86_64 aarch64 ppc64le
|
||||
|
||||
%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 clean package
|
||||
mvn -DskipTests -Dmaven.test.skip=true clean package
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}/opt/
|
||||
@ -38,6 +38,15 @@ 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.
Loading…
x
Reference in New Issue
Block a user