代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/delta 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。