diff --git a/SPECS/libarrow.spec b/SPECS/libarrow.spec index c4b767f..b553aa3 100644 --- a/SPECS/libarrow.spec +++ b/SPECS/libarrow.spec @@ -18,6 +18,7 @@ # under the License. %bcond_without use_flight +%bcond_with use_plasma %bcond_with use_gandiva %bcond_with use_mimalloc %bcond_without use_ninja @@ -30,7 +31,7 @@ Name: libarrow Version: 7.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A toolbox for accelerated data interchange and in-memory processing License: ASL 2.0 URL: https://arrow.apache.org/ @@ -160,7 +161,6 @@ Libraries and header files for Apache Arrow C++. %{_libdir}/cmake/arrow/ArrowTargets*.cmake %{_libdir}/cmake/arrow/FindArrow.cmake %{_libdir}/cmake/arrow/arrow-config.cmake -%exclude %{_libdir}/libarrow.a %{_libdir}/libarrow.so %{_libdir}/pkgconfig/arrow-compute.pc %{_libdir}/pkgconfig/arrow-csv.pc @@ -199,7 +199,6 @@ Libraries and header files for Apache Arrow dataset. %{_libdir}/cmake/arrow/FindArrowDataset.cmake %{_libdir}/libarrow_dataset.so %{_libdir}/pkgconfig/arrow-dataset.pc -%exclude %{_libdir}/libarrow_dataset.a #-------------------------------------------------------------------- @@ -239,8 +238,6 @@ Libraries and header files for Apache Arrow Flight. %{_libdir}/libarrow-flight-glib.so %{_libdir}/pkgconfig/arrow-flight.pc %{_libdir}/pkgconfig/arrow-flight-glib.pc -%exclude %{_libdir}/libarrow_flight.a -%exclude %{_libdir}/libarrow-flight-glib.a %endif #-------------------------------------------------------------------- @@ -276,7 +273,6 @@ Libraries and header files for Gandiva. %{_libdir}/cmake/arrow/FindGandiva.cmake %{_libdir}/libgandiva.so %{_libdir}/pkgconfig/gandiva.pc -%exclude %{_libdir}/libgandiva.a %endif #-------------------------------------------------------------------- @@ -314,7 +310,6 @@ Libraries and header files for Python integration library for Apache Arrow. %{_libdir}/cmake/arrow/FindArrowPython.cmake %{_libdir}/libarrow_python.so %{_libdir}/pkgconfig/arrow-python.pc -%exclude %{_libdir}/libarrow_python.a #-------------------------------------------------------------------- @@ -350,9 +345,9 @@ Apache Arrow Flight. %{_libdir}/cmake/arrow/FindArrowPythonFlight.cmake %{_libdir}/libarrow_python_flight.so %{_libdir}/pkgconfig/arrow-python-flight.pc -%exclude %{_libdir}/libarrow_python_flight.a %endif +%if %{with use_plasma} #-------------------------------------------------------------------- %package -n plasma-libs @@ -399,8 +394,8 @@ Libraries and header files for Plasma in-memory object store. %{_libdir}/cmake/arrow/FindPlasma.cmake %{_libdir}/libplasma.so %{_libdir}/pkgconfig/plasma*.pc -%exclude %{_libdir}/libplasma.a +%endif #-------------------------------------------------------------------- %package -n parquet-libs @@ -434,7 +429,6 @@ Libraries and header files for Apache Parquet C++. %{_libdir}/cmake/arrow/FindParquet.cmake %{_libdir}/libparquet.so %{_libdir}/pkgconfig/parquet*.pc -%exclude %{_libdir}/libparquet.a #-------------------------------------------------------------------- @@ -472,7 +466,6 @@ Libraries and header files for Apache Arrow GLib. %{_datadir}/arrow-glib/example/ %{_datadir}/gir-1.0/Arrow-1.0.gir %{_datadir}/gir-1.0/ArrowFlight-1.0.gir -%exclude %{_libdir}/libarrow-glib.a #-------------------------------------------------------------------- @@ -520,7 +513,6 @@ Libraries and header files for Apache Arrow dataset GLib. %{_libdir}/libarrow-dataset-glib.so %{_libdir}/pkgconfig/arrow-dataset-glib.pc %{_datadir}/gir-1.0/ArrowDataset-1.0.gir -%exclude %{_libdir}/libarrow-dataset-glib.a #-------------------------------------------------------------------- @@ -566,7 +558,6 @@ Libraries and header files for Gandiva GLib. %{_libdir}/libgandiva-glib.so %{_libdir}/pkgconfig/gandiva-glib.pc %{_datadir}/gir-1.0/Gandiva-1.0.gir -%exclude %{_libdir}/libgandiva-glib.a #-------------------------------------------------------------------- @@ -581,6 +572,7 @@ Documentation for Gandiva GLib. %{_datadir}/gtk-doc/html/gandiva-glib/* %endif +%if %{with use_plasma} #-------------------------------------------------------------------- %package -n plasma-glib-libs @@ -613,7 +605,6 @@ Libraries and header files for Plasma GLib. %{_libdir}/libplasma-glib.so %{_libdir}/pkgconfig/plasma-glib.pc %{_datadir}/gir-1.0/Plasma-1.0.gir -%exclude %{_libdir}/libplasma-glib.a #-------------------------------------------------------------------- @@ -626,6 +617,7 @@ Documentation for Plasma GLib. %files -n plasma-glib-doc %dir %{_datadir}/gtk-doc/html/plasma-glib %{_datadir}/gtk-doc/html/plasma-glib/* +%endif #-------------------------------------------------------------------- @@ -659,7 +651,6 @@ Libraries and header files for Apache Parquet GLib. %{_libdir}/libparquet-glib.so %{_libdir}/pkgconfig/parquet-glib.pc %{_datadir}/gir-1.0/Parquet-1.0.gir -%exclude %{_libdir}/libparquet-glib.a #-------------------------------------------------------------------- @@ -682,37 +673,40 @@ Documentation for Apache Parquet GLib. pushd cpp %cmake . \ %if %{with use_flight} - -DARROW_FLIGHT=ON \ + -DARROW_FLIGHT:BOOL=ON \ %endif %if %{with use_gandiva} - -DARROW_GANDIVA=ON \ + -DARROW_GANDIVA:BOOL=ON \ %endif %if %{with use_mimalloc} - -DARROW_MIMALLOC=ON \ + -DARROW_MIMALLOC:BOOL=ON \ %endif - -DARROW_ORC=ON \ - -DARROW_PARQUET=ON \ - -DARROW_PLASMA=ON \ - -DARROW_PYTHON=ON \ - -DARROW_JEMALLOC=OFF \ + -DARROW_ORC:BOOL=ON \ + -DARROW_PARQUET:BOOL=ON \ +%if %{with use_plasma} + -DARROW_PLASMA:BOOL=ON \ +%endif + -DARROW_PYTHON:BOOL=ON \ + -DARROW_JEMALLOC:BOOL=OFF \ -DGRPC_SOURCE="SYSTEM" \ -Dxsimd_SOURCE="SYSTEM" \ %if %{with use_s3} - -DARROW_S3=ON \ + -DARROW_S3:BOOL=ON \ %endif - -DARROW_WITH_BROTLI=ON \ - -DARROW_WITH_BZ2=ON \ - -DARROW_WITH_LZ4=ON \ - -DARROW_WITH_SNAPPY=ON \ - -DARROW_WITH_ZLIB=ON \ - -DARROW_WITH_ZSTD=ON \ - -DARROW_WITH_XSIMD=ON \ + -DARROW_WITH_BROTLI:BOOL=ON \ + -DARROW_WITH_BZ2:BOOL=ON \ + -DARROW_WITH_LZ4:BOOL=ON \ + -DARROW_WITH_SNAPPY:BOOL=ON \ + -DARROW_WITH_ZLIB:BOOL=ON \ + -DARROW_WITH_ZSTD:BOOL=ON \ + -DARROW_WITH_XSIMD:BOOL=ON \ + -DARROW_BUILD_STATIC:BOOL=OFF \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_COLOR_MAKEFILE:BOOL=OFF \ - -DARROW_USE_CCACHE=OFF \ - -DCMAKE_UNITY_BUILD=ON \ - -DPARQUET_REQUIRE_ENCRYPTION=ON \ - -DPythonInterp_FIND_VERSION=ON \ + -DARROW_USE_CCACHE:BOOL=OFF \ + -DCMAKE_UNITY_BUILD:BOOL=ON \ + -DPARQUET_REQUIRE_ENCRYPTION:BOOL=ON \ + -DPythonInterp_FIND_VERSION:BOOL=ON \ -DPythonInterp_FIND_VERSION_MAJOR=3 \ %if %{with use_ninja} -GNinja @@ -744,6 +738,9 @@ popd #-------------------------------------------------------------------- %changelog +* Wed Apr 27 2022 Kaleb S. KEITHLEY - 7.0.0-3 +- remove static libs everywhere, inc. from build + * Wed Apr 27 2022 Kaleb S. KEITHLEY - 7.0.0-2 - %_libdir/cmake/arrow/* in -devel