diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000000000000000000000000000000000..f087b429e2f81a9f37b28a8308e2210f84df6c9b --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/.lfsconfig b/.lfsconfig new file mode 100644 index 0000000000000000000000000000000000000000..5ef1eb7339199f28e64afe2783714696b9ae1b7c --- /dev/null +++ b/.lfsconfig @@ -0,0 +1,2 @@ +[lfs] + url = https://artlfs.openeuler.openatom.cn/src-openEuler/libarrow diff --git a/apache-arrow-20.0.0.tar.gz b/apache-arrow-20.0.0.tar.gz deleted file mode 100644 index 33eeb9e159131aeecafd743fe6dd46e6d2d941cd..0000000000000000000000000000000000000000 Binary files a/apache-arrow-20.0.0.tar.gz and /dev/null differ diff --git a/apache-arrow-21.0.0.tar.gz b/apache-arrow-21.0.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b3b8f35cf752b4c9ba394c2ea69f0f00d98337cd --- /dev/null +++ b/apache-arrow-21.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d3f8db7e72fb9f65f4785b7a1634522e8d8e9657a445af53d4a34a3849857b5 +size 17320680 diff --git a/libarrow.spec b/libarrow.spec index f29eebab9ef4b7bd54c1c837812790a499cba9cd..8731bd4025afba227da108dafc476793b0911002 100644 --- a/libarrow.spec +++ b/libarrow.spec @@ -30,8 +30,8 @@ %bcond_without have_utf8proc Name: libarrow -Version: 20.0.0 -Release: 2 +Version: 21.0.0 +Release: 1 Summary: A toolbox for accelerated data interchange and in-memory processing License: Apache-2.0 URL: https://github.com/apache/arrow @@ -153,6 +153,7 @@ Obsoletes: gandiva-glib-doc < %{version}-%{release} %package devel Summary: Libraries and header files for Apache Arrow C++ Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-compute-devel = %{version}-%{release} Requires: brotli-devel Requires: bzip2-devel Requires: libzstd-devel @@ -177,6 +178,7 @@ Libraries and header files for Apache Arrow C++. %dir %{_includedir}/arrow/ %{_includedir}/arrow/* %exclude %{_includedir}/arrow/dataset/ +%exclude %{_includedir}/arrow/compute/ %if %{with use_flight} %exclude %{_includedir}/arrow/flight/ %exclude %{_includedir}/arrow-flight-glib @@ -196,7 +198,6 @@ Libraries and header files for Apache Arrow C++. %{_libdir}/cmake/Arrow/ArrowTargets*.cmake %{_libdir}/cmake/Arrow/arrow-config.cmake %{_libdir}/libarrow.so -%{_libdir}/pkgconfig/arrow-compute.pc %{_libdir}/pkgconfig/arrow-csv.pc %{_libdir}/pkgconfig/arrow-filesystem.pc %{_libdir}/pkgconfig/arrow-json.pc @@ -207,6 +208,38 @@ Libraries and header files for Apache Arrow C++. #-------------------------------------------------------------------- +%package compute-libs +Summary: C++ library to read and write semantic datasets +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-doc = %{version}-%{release} + +%description compute-libs +This package contains the libraries for Apache Arrow Compute + +%files compute-libs +%{_libdir}/libarrow_compute.so.* + +#-------------------------------------------------------------------- + +%package compute-devel +Summary: Libraries and header files for Apache Arrow compute +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-compute-libs%{?_isa} = %{version}-%{release} +Conflicts: %{name}-devel < 21.0.0 + +%description compute-devel +Libraries and header files for Apache Arrow Compute + +%files compute-devel +%dir %{_includedir}/arrow/compute/ +%{_includedir}/arrow/compute/* +%dir %{_libdir}/cmake/ArrowCompute +%{_libdir}/cmake/ArrowCompute/*.cmake +%{_libdir}/libarrow_compute.so +%{_libdir}/pkgconfig/arrow-compute.pc + +#-------------------------------------------------------------------- + %package dataset-libs Summary: C++ library to read and write semantic datasets Requires: %{name}%{?_isa} = %{version}-%{release} @@ -699,7 +732,7 @@ Development files for python3-pyarrow #-------------------------------------------------------------------- %prep -%autosetup -p1 -n arrow-apache-arrow-%{version} +%autosetup -p1 -n apache-arrow-%{version} # We do not need to (nor can we) build for an old version of numpy: sed -r -i 's/(oldest-supported-)(numpy)/\2/' python/pyproject.toml @@ -808,6 +841,9 @@ popd #-------------------------------------------------------------------- %changelog +* Tue Sep 2 2025 Han Jinpeng - 21.0.0-1 +- Update to 21.0.0 + * Fri Jun 13 2025 Dongxing Wang - 20.0.0-2 - Fix build error for memory leak