--- /dev/null
+--- glusterfs-10.3/libglusterfs/src/glusterfs/compat-io_uring.h.orig 2022-09-20 12:24:29.627820825 +0200
++++ glusterfs-10.3/libglusterfs/src/glusterfs/compat-io_uring.h 2023-03-17 21:47:37.793704259 +0100
+@@ -11,6 +11,8 @@
+ #ifndef __COMPAT_IO_URING_H__
+ #define __COMPAT_IO_URING_H__
+
++#include <sys/mount.h>
++#define _LINUX_MOUNT_H
+ #include <linux/io_uring.h>
+
+ /* io_uring setup flags. */
Summary: Clustered File Storage that can scale to peta bytes
Summary(pl.UTF-8): Klastrowy system przechowywania plików skalujący się do petabajtów
Name: glusterfs
-Version: 10.2
+Version: 10.3
Release: 1
License: LGPL v3+ or GPL v2 (libraries), GPL v3+ (programs)
Group: Applications/System
Source0: https://download.gluster.org/pub/gluster/glusterfs/10/%{version}/glusterfs-%{version}.tar.gz
-# Source0-md5: 05affccc2f17d136a2587a32524c542e
+# Source0-md5: 9c795c8479f244e81bca5b2499a480cc
Source1: glusterfsd.init
+Patch0: %{name}-glibc.patch
Patch1: systemd.patch
URL: https://www.gluster.org/
BuildRequires: acl-devel
BuildRequires: liburing-devel
BuildRequires: libuuid-devel
BuildRequires: libxml2-devel >= 1:2.6.19
-BuildRequires: openssl-devel
+BuildRequires: openssl-devel >= 1.1
BuildRequires: pkgconfig
BuildRequires: python3 >= 1:3.2
BuildRequires: python3-devel >= 1:3.2
%prep
%setup -q
+%patch0 -p1
%patch1 -p1
%build