diff --git a/glusterfs.spec b/glusterfs.spec index 0db8dbd..1219b81 100644 --- a/glusterfs.spec +++ b/glusterfs.spec @@ -44,7 +44,9 @@ BuildRequires: pkgconfig(fuse) >= 2.6.5 BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(libtirpc) BuildRequires: pkgconfig(liburcu) +%if 0%{?suse_version} >= 1550 BuildRequires: pkgconfig(liburing) >= 0.3 +%endif BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(sqlite3) @@ -150,7 +152,11 @@ links. %build %define _lto_cflags %nil ./autogen.sh -%configure --disable-static --with-ipv6-default +%configure \ +%if !(0%{?suse_version} >= 1550) + --disable-linux-io_uring \ +%endif + --disable-static --with-ipv6-default %make_build %install