diff --git a/dev/tasks/linux-packages/apache-arrow/debian/libarrow-dev.install b/dev/tasks/linux-packages/apache-arrow/debian/libarrow-dev.install index 81789b9d569..4f600692ced 100644 --- a/dev/tasks/linux-packages/apache-arrow/debian/libarrow-dev.install +++ b/dev/tasks/linux-packages/apache-arrow/debian/libarrow-dev.install @@ -5,7 +5,7 @@ usr/lib/*/cmake/arrow/ArrowTargets*.cmake usr/lib/*/cmake/arrow/Find*Alt.cmake usr/lib/*/cmake/arrow/FindArrow.cmake usr/lib/*/cmake/arrow/FindBrotli.cmake -usr/lib/*/cmake/arrow/Find[Suz]*.cmake +usr/lib/*/cmake/arrow/Find[STuz]*.cmake usr/lib/*/cmake/arrow/arrow-config.cmake usr/lib/*/libarrow.a usr/lib/*/libarrow.so diff --git a/dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in b/dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in index 8000a2b253f..c671ce8aede 100644 --- a/dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in +++ b/dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in @@ -64,11 +64,12 @@ %define use_python (%{rhel} >= 8) # TODO: Enable this. This works on local but is fragile on GitHub Actions and # Travis CI. -# %%define use_s3 (%{rhel} >= 8) +# %%define use_s3 (%%{rhel} >= 8) %define use_s3 0 %define have_rapidjson (%{rhel} != 8) %define have_re2 (%{rhel} >= 8) +%define have_thrift (%{rhel} >= 8) %define have_utf8proc (%{rhel} >= 9) %define have_zstd (!%{is_amazon_linux}) @@ -122,7 +123,9 @@ BuildRequires: rapidjson-devel BuildRequires: re2-devel %endif BuildRequires: snappy-devel +%if %{have_thrift} BuildRequires: thrift-devel +%endif %if %{have_utf8proc} BuildRequires: utf8proc-devel %endif @@ -294,6 +297,9 @@ Libraries and header files for Apache Arrow C++. %{_libdir}/cmake/arrow/FindArrow.cmake %{_libdir}/cmake/arrow/FindBrotli.cmake %{_libdir}/cmake/arrow/FindSnappy.cmake +%if %{have_thrift} +%{_libdir}/cmake/arrow/FindThrift.cmake +%endif %if %{use_flight} %{_libdir}/cmake/arrow/Findc-aresAlt.cmake %endif