2 Star 0 Fork 1

MacChen1/delta

forked from src-openEuler/delta 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
delta.spec 2.23 KB
一键复制 编辑 原始数据 按行查看 历史
xiexing 提交于 2023-09-25 19:47 . update version to 2.4.0
%define _jar_repack %{nil}
%define user delta
%define _define _jar_repack %{nil}
%define debug_package %{nil}
Name: delta
Version: 2.4.0
Release: 1
Summary: Delta lake is an open-source storage framework.
License: Apache-2.0
URL: https://delta.io
Source0: https://github.com/delta-io/delta/archive/refs/tags/v%{version}.tar.gz
Source1: repositories
Source2: https://scala.jfrog.io/ui/native/sbt-plugin-releases/com.eed3si9n/sbt-unidoc/scala_2.10/sbt-unidoc.jar
#sbt-unidoc.jar的版本为0.4.3 ,MD5值为8f2809ed93e9484d3e08c6d7280298d8 sbt-unidoc.jar
Source3: ivy.xml
Patch0: 0001-change-sbt-url.patch
BuildRequires: java-1.8.0-openjdk-devel,java-1.8.0-openjdk,perl
Requires: java-1.8.0-openjdk
%description
Delta lake is an open-source storage framework that enables building a Lakehouse archiecture with computer engines including Spark ,PrestoDb,Flink,Trino,and Hive APIs for Scala,Java,Rust,Ruby,and Python.
%prep
%autosetup -p1 -n delta-%{version}
cp %{SOURCE1} ./
%build
mkdir -p /home/abuild/.ivy2/localcom.eed3si9n/sbt-unidoc/scala_2.12/sbt_1.0/0.4.3/ivys/
cp %{SOURCE3} /home/abuild/.ivy2/localcom.eed3si9n/sbt-unidoc/scala_2.12/sbt_1.0/0.4.3/ivys/
mkdir -p /home/abuild/.ivy2/localcom.eed3si9n/sbt-unidoc/scala_2.12/sbt_1.0/0.4.3/jars/
cp %{SOURCE2} /home/abuild/.ivy2/localcom.eed3si9n/sbt-unidoc/scala_2.12/sbt_1.0/0.4.3/jars/
build/sbt compile package -Dsbt.override.build.repos=true -Dsbt.repository.config=./repositories
%install
mkdir -p $RPM_BUILD_ROOT/opt/delta
cp -r %{_builddir}/delta-%{version}/contribs/target/scala-2.12/delta-contribs_2.12-%{version}.jar $RPM_BUILD_ROOT/opt/delta
cp -r %{_builddir}/delta-%{version}/core/target/scala-2.12/delta-core_2.12-%{version}.jar $RPM_BUILD_ROOT/opt/delta
cp -r %{_builddir}/delta-%{version}/storage-s3-dynamodb/target/delta-storage-s3-dynamodb-%{version}.jar $RPM_BUILD_ROOT/opt/delta
cp -r %{_builddir}/delta-%{version}/storage/target/delta-storage-%{version}.jar $RPM_BUILD_ROOT/opt/delta
cp -r %{_builddir}/delta-%{version}/target/scala-2.12/delta-2-4-0_2.12-%{version}.jar $RPM_BUILD_ROOT/opt/delta
%files
/opt/delta
%changelog
* Mon Sep 25 2023 xiexing <xiexing4@hisilicon.com> -2.4.0-1
- update version to 2.4.0
* Fri Jun 24 2022 xiexing <xiexing4@hisilicon.com> - 1.2.1-1
- Init package
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/macchen1/delta.git
git@gitee.com:macchen1/delta.git
macchen1
delta
delta
master

搜索帮助