From 840072c33afb72b5501ebb7dbb6e3a80e95151e8 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 2 Jun 2020 15:48:02 +0200 Subject: [PATCH] Do not require liburing for RHEL yet We need at least version 0.4 --- samba.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/samba.spec b/samba.spec index d7dbe46..1f40310 100644 --- a/samba.spec +++ b/samba.spec @@ -89,9 +89,13 @@ %endif %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 %global with_vfs_io_uring 1 %endif +# /fedora +%endif %global _systemd_extra "Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba" @@ -227,7 +231,7 @@ BuildRequires: libcephfs-devel %endif %if %{with_vfs_io_uring} -BuildRequires: liburing-devel +BuildRequires: liburing-devel >= 0.4 %endif %if %{with_dc}