1 Star 0 Fork 29

houyingchao/spark

forked from src-openEuler/spark 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
spark.spec 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
Wuzeyiii 提交于 2021-11-27 10:36 +08:00 . fix spec
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
%global debug_package %{nil}
Summary: A unified analytics engine for large-scale data processing.
Name: spark
Version: 3.2.0
Release: 1.2
License: Apache License v2.0
URL: http://spark.apache.org/
Source0: https://github.com/apache/spark/archive/v%{version}.tar.gz
Source1: settings.xml
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
%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.
%prep
%setup -q
%patch0001 -p1
%build
cp %{SOURCE1} ./settings.xml
mvn -DskipTests clean package -s settings.xml
%install
mkdir -p %{buildroot}/opt/
cp -rf ../%{name}-%{version} %{buildroot}/opt/apache-%{name}-%{version}
%files
/opt/apache-%{name}-%{version}
%changelog
* 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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/houyingchao/spark.git
git@gitee.com:houyingchao/spark.git
houyingchao
spark
spark
master

搜索帮助