Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions dev/release/verify-yum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,10 @@ if [ "${have_flight}" = "yes" ]; then
ruby -r gi -e "p GI.load('ArrowFlightSQL')"
fi
echo "::endgroup::"

echo "::group::Test Apache Arrow Flight SQL ODBC driver"
${install_command} ${enablerepo_epel} arrow-flight-sql-odbc-devel-${package_version}
echo "::endgroup::"
fi

if [ "${have_gandiva}" = "yes" ]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ RUN \
snappy-devel \
tar \
thrift-devel \
unixODBC-devel \
utf8proc-devel \
vala \
which \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ RUN \
snappy-devel \
tar \
thrift-devel \
unixODBC-devel \
# utf8proc-devel \
vala \
which \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ RUN \
snappy-devel \
tar \
thrift-devel \
unixODBC-devel \
utf8proc-devel \
vala \
which \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ RUN \
rpmdevtools \
snappy-devel \
tar \
unixODBC-devel \
utf8proc-devel \
vala \
which \
Expand Down
39 changes: 38 additions & 1 deletion dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ BuildRequires: snappy-devel
%if %{have_thrift}
BuildRequires: thrift-devel
%endif
BuildRequires: unixODBC-devel
%if %{have_utf8proc}
BuildRequires: utf8proc-devel
%endif
Expand Down Expand Up @@ -144,6 +145,7 @@ cd cpp
-DARROW_DATASET=ON \
-DARROW_FLIGHT=ON \
-DARROW_FLIGHT_SQL=ON \
-DARROW_FLIGHT_SQL_ODBC=ON \
-DARROW_GANDIVA=ON \
%if %{use_gcs}
-DARROW_GCS=ON \
Expand Down Expand Up @@ -472,7 +474,7 @@ This package contains the libraries for Apache Arrow Flight SQL.
Summary: Libraries and header files for Apache Arrow Flight SQL.
License: Apache-2.0
Requires: %{name}%{so_version}-flight-sql-libs = %{version}-%{release}
Requires: %{name}-devel = %{version}-%{release}
Requires: %{name}-flight-devel = %{version}-%{release}

%description flight-sql-devel
Libraries and header files for Apache Arrow Flight SQL.
Expand All @@ -482,11 +484,46 @@ Libraries and header files for Apache Arrow Flight SQL.
%doc README.md
%license LICENSE.txt NOTICE.txt
%{_includedir}/arrow/flight/sql/
%exclude %{_includedir}/arrow/flight/sql/odbc/
%{_libdir}/cmake/ArrowFlightSql/
%{_libdir}/libarrow_flight_sql.a
%{_libdir}/libarrow_flight_sql.so
%{_libdir}/pkgconfig/arrow-flight-sql.pc

%package -n %{name}%{so_version}-flight-sql-odbc-libs
Summary: C++ library for interacting with SQL databases via ODBC.
License: Apache-2.0
Requires: %{name}%{so_version}-flight-sql-libs = %{version}-%{release}

%description -n %{name}%{so_version}-flight-sql-odbc-libs
This package contains the libraries for Apache Arrow Flight SQL ODBC driver.

%files -n %{name}%{so_version}-flight-sql-odbc-libs
%defattr(-,root,root,-)
%doc README.md
%license LICENSE.txt NOTICE.txt
%{_libdir}/libarrow_flight_sql_odbc.so.*

%package flight-sql-odbc-devel
Summary: Libraries and header files for Apache Arrow Flight SQL ODBC driver.
License: Apache-2.0
Requires: %{name}%{so_version}-flight-sql-odbc-libs = %{version}-%{release}
Requires: %{name}-flight-sql-devel = %{version}-%{release}
Requires: unixODBC-devel

%description flight-sql-odbc-devel
Libraries and header files for Apache Arrow Flight SQL ODBC driver.

%files flight-sql-odbc-devel
%defattr(-,root,root,-)
%doc README.md
%license LICENSE.txt NOTICE.txt
%{_includedir}/arrow/flight/sql/odbc/
%{_libdir}/cmake/ArrowFlightSqlOdbc/
%{_libdir}/libarrow_flight_sql_odbc.a
%{_libdir}/libarrow_flight_sql_odbc.so
%{_libdir}/pkgconfig/arrow-flight-sql-odbc.pc

%package -n gandiva%{so_version}-libs
Summary: C++ library for compiling and evaluating expressions on Apache Arrow data.
License: Apache-2.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ RUN \
snappy-devel \
tar \
thrift-devel \
unixODBC-devel \
utf8proc-devel \
vala \
which \
Expand Down
Loading