Do not require liburing for RHEL yet
We need at least version 0.4
This commit is contained in:
parent
d974e2dba3
commit
840072c33a
@ -89,9 +89,13 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%global with_vfs_io_uring 0
|
%global with_vfs_io_uring 0
|
||||||
|
# We need liburing >= 0.4 which is not available in RHEL yet
|
||||||
|
%if 0%{?fedora}
|
||||||
%ifarch aarch64 ppc64le s390x x86_64 i686
|
%ifarch aarch64 ppc64le s390x x86_64 i686
|
||||||
%global with_vfs_io_uring 1
|
%global with_vfs_io_uring 1
|
||||||
%endif
|
%endif
|
||||||
|
# /fedora
|
||||||
|
%endif
|
||||||
|
|
||||||
%global _systemd_extra "Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba"
|
%global _systemd_extra "Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba"
|
||||||
|
|
||||||
@ -227,7 +231,7 @@ BuildRequires: libcephfs-devel
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_vfs_io_uring}
|
%if %{with_vfs_io_uring}
|
||||||
BuildRequires: liburing-devel
|
BuildRequires: liburing-devel >= 0.4
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_dc}
|
%if %{with_dc}
|
||||||
|
Loading…
Reference in New Issue
Block a user