Skip to content

Commit

Permalink
apacheGH-36832: [Packaging][RPM] Remove needless Requires (apache#36833)
Browse files Browse the repository at this point in the history
### Rationale for this change

`arrowXX-libs` doesn't use `gflags` but it depends on `gflags`.

### What changes are included in this PR?

Remove needless explicit `Requires`.

### Are these changes tested?

Yes.

### Are there any user-facing changes?

Yes.
* Closes: apache#36832

Authored-by: Sutou Kouhei <[email protected]>
Signed-off-by: Raúl Cumplido <[email protected]>
  • Loading branch information
kou authored and R-JunmingChen committed Aug 20, 2023
1 parent c199457 commit cd23761
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions dev/tasks/linux-packages/apache-arrow/yum/arrow.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -238,27 +238,11 @@ cd -
%package -n %{name}%{major_version}-libs
Summary: Runtime libraries for Apache Arrow C++
License: Apache-2.0
Requires: brotli
%if %{use_gflags}
Requires: gflags
%endif
%if %{use_glog}
Requires: glog
%endif
Requires: libzstd
%if %{have_lz4_libs}
Requires: lz4-libs %{lz4_requirement}
%else
Requires: lz4 %{lz4_requirement}
%endif
%if %{have_re2}
Requires: re2
%endif
Requires: snappy
%if %{have_utf8proc}
Requires: utf8proc
%endif
Requires: zlib

%description -n %{name}%{major_version}-libs
This package contains the libraries for Apache Arrow C++.
Expand Down Expand Up @@ -414,8 +398,6 @@ Libraries and header files for Apache Arrow dataset.
Summary: C++ library for fast data transport.
License: Apache-2.0
Requires: %{name}%{major_version}-libs = %{version}-%{release}
Requires: c-ares
Requires: openssl

%description -n %{name}%{major_version}-flight-libs
This package contains the libraries for Apache Arrow Flight.
Expand Down Expand Up @@ -485,7 +467,6 @@ Libraries and header files for Apache Arrow Flight SQL.
Summary: C++ library for compiling and evaluating expressions on Apache Arrow data.
License: Apache-2.0
Requires: %{name}%{major_version}-libs = %{version}-%{release}
Requires: ncurses-libs

%description -n gandiva%{major_version}-libs
This package contains the libraries for Gandiva.
Expand Down Expand Up @@ -521,7 +502,6 @@ Libraries and header files for Gandiva.
Summary: Runtime libraries for Apache Parquet C++
License: Apache-2.0
Requires: %{name}%{major_version}-libs = %{version}-%{release}
Requires: openssl

%description -n parquet%{major_version}-libs
This package contains the libraries for Apache Parquet C++.
Expand Down Expand Up @@ -570,7 +550,6 @@ Libraries and header files for Apache Parquet C++.
Summary: Runtime libraries for Apache Arrow GLib
License: Apache-2.0
Requires: %{name}%{major_version}-libs = %{version}-%{release}
Requires: glib2

%description -n %{name}%{major_version}-glib-libs
This package contains the libraries for Apache Arrow GLib.
Expand Down

0 comments on commit cd23761

Please sign in to comment.