# this is tracked in https://bugzilla.redhat.com/2152265
%bcond_with system_arrow
%endif
+%if 0%{?fedora} || 0%{?rhel} >= 9
+%bcond_without system_qat
+%else
+%bcond_with system_qat
+%endif
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 8 || 0%{?openEuler}
%global weak_deps 1
%endif
BuildRequires: parquet-libs-devel
BuildRequires: utf8proc-devel
%endif
+%if 0%{with system_qat}
+BuildRequires: qatlib-devel
+BuildRequires: qatzip-devel
+%endif
%if 0%{with seastar}
BuildRequires: c-ares-devel
BuildRequires: gnutls-devel
-DWITH_SYSTEM_ARROW:BOOL=ON \
-DWITH_SYSTEM_UTF8PROC:BOOL=ON \
%endif
+%if 0%{with system_qat}
+ -DWITH_SYSTEM_QATLIB:BOOL=ON \
+ -DWITH_SYSTEM_QATZIP:BOOL=ON \
+%endif
%if 0%{with seastar}
-DWITH_SEASTAR:BOOL=ON \
-DWITH_JAEGER:BOOL=OFF \