[packages/glusterfs] - updated to 10.3 - added glibc patch for <sys/mount.h> vs <linux/mount.h> incompatibility

qboosh qboosh at pld-linux.org
Sat Mar 18 16:25:43 CET 2023


commit 6707191c8a0abadb56e859a70ba9fad3fe424906
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Mar 18 16:27:51 2023 +0100

    - updated to 10.3
    - added glibc patch for <sys/mount.h> vs <linux/mount.h> incompatibility

 glusterfs-glibc.patch | 11 +++++++++++
 glusterfs.spec        |  8 +++++---
 2 files changed, 16 insertions(+), 3 deletions(-)
---
diff --git a/glusterfs.spec b/glusterfs.spec
index a710eb4..08c50eb 100644
--- a/glusterfs.spec
+++ b/glusterfs.spec
@@ -13,13 +13,14 @@
 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
@@ -39,7 +40,7 @@ BuildRequires:	libtool
 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
@@ -266,6 +267,7 @@ Plik składni Vima do edycji konfiguracji GlusterFS-a.
 
 %prep
 %setup -q
+%patch0 -p1
 %patch1 -p1
 
 %build
diff --git a/glusterfs-glibc.patch b/glusterfs-glibc.patch
new file mode 100644
index 0000000..3d120d7
--- /dev/null
+++ b/glusterfs-glibc.patch
@@ -0,0 +1,11 @@
+--- 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. */
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/glusterfs.git/commitdiff/6707191c8a0abadb56e859a70ba9fad3fe424906



More information about the pld-cvs-commit mailing list