From 5f3ff375effd40dd773aafe97a66c6943e4b9b0bd5e02094135ad4c67f7601af Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 30 Apr 2021 06:51:58 +0000 Subject: [PATCH] build without uring on 15.2 OBS-URL: https://build.opensuse.org/package/show/filesystems/glusterfs?expand=0&rev=78 --- glusterfs.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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