From 134b221194999951c264c22e9e6cc10378cbe62a771b29ea18763c9c0adc77a6 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 13 Dec 2019 18:58:13 +0000 Subject: [PATCH] - Update to release 7.0 OBS-URL: https://build.opensuse.org/package/show/filesystems/glusterfs?expand=0&rev=64 --- glusterfs-5.5.tar.gz | 3 --- glusterfs-7.0.tar.gz | 3 +++ glusterfs.changes | 13 +++++++++++ glusterfs.spec | 52 ++++++++++++++++---------------------------- 4 files changed, 35 insertions(+), 36 deletions(-) delete mode 100644 glusterfs-5.5.tar.gz create mode 100644 glusterfs-7.0.tar.gz diff --git a/glusterfs-5.5.tar.gz b/glusterfs-5.5.tar.gz deleted file mode 100644 index 40779b0..0000000 --- a/glusterfs-5.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:781da2e9e955eec6b411abd8df5851353936e5cc6f6aef9b8e6c8b970610cdf4 -size 7635517 diff --git a/glusterfs-7.0.tar.gz b/glusterfs-7.0.tar.gz new file mode 100644 index 0000000..d8a250c --- /dev/null +++ b/glusterfs-7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a872518bf9bd4dc1568f45c716bcde09e3bf7abf5b156ea90405e0fc2e9f07b +size 7610837 diff --git a/glusterfs.changes b/glusterfs.changes index 17d8ac5..cbd63af 100644 --- a/glusterfs.changes +++ b/glusterfs.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri Dec 13 16:13:06 UTC 2019 - Jan Engelhardt + +- Update to release 7.0 + * Latency based read child to improve read workload latency in + a cluster, especially in a cloud setup. Also provides a load + balancing with the outstanding pending request. + * Thin-arbiter integration with GD1. + * If a client older than glusterfs-4.x (i.e. 3.x clients) + accesses a volume which has the `fips-mode-rchecksum` volume + option enabled, it can cause erroneous checksum computation/ + unwanted behaviour during afr self-heal. + ------------------------------------------------------------------- Wed Apr 24 08:59:02 UTC 2019 - Martin Liška diff --git a/glusterfs.spec b/glusterfs.spec index 5fb6b88..5b5f6eb 100644 --- a/glusterfs.spec +++ b/glusterfs.spec @@ -1,7 +1,7 @@ # # spec file for package glusterfs # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,16 +17,16 @@ Name: glusterfs -Version: 5.5 +Version: 7.0 Release: 0 Summary: Aggregating distributed file system License: GPL-2.0-only OR LGPL-3.0-or-later Group: System/Filesystems -Url: http://www.gluster.org/ +URL: http://www.gluster.org/ #Git-Clone: git://github.com/gluster/glusterfs #Git-Clone: git://github.com/fvzwieten/lsgvt -Source: https://download.gluster.org/pub/gluster/glusterfs/5/5.5/glusterfs-5.5.tar.gz +Source: https://download.gluster.org/pub/gluster/glusterfs/7/7.0/glusterfs-7.0.tar.gz BuildRequires: acl-devel BuildRequires: autoconf BuildRequires: automake @@ -36,7 +36,7 @@ BuildRequires: flex BuildRequires: libaio-devel BuildRequires: libtool BuildRequires: pkgconfig -BuildRequires: python2 +BuildRequires: python3 BuildRequires: readline-devel BuildRequires: rpcgen BuildRequires: systemd-rpm-macros @@ -45,7 +45,7 @@ BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(libtirpc) BuildRequires: pkgconfig(liburcu) BuildRequires: pkgconfig(libxml-2.0) -BuildRequires: pkgconfig(python) +BuildRequires: pkgconfig(python3) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(uuid) %{?systemd_requires} @@ -105,14 +105,6 @@ Group: System/Libraries GlusterFS is a clustered file-system capable of scaling to several petabytes. -%package -n libgfdb0 -Summary: GlusterFS's database library -Group: System/Libraries - -%description -n libgfdb0 -GlusterFS is a clustered file-system capable of scaling to several -petabytes. - %package -n python-gluster Summary: Python bindings for GlusterFS Group: Development/Languages/Python @@ -193,6 +185,8 @@ perl -i -pe 's{#!/usr/bin/env python}{#!/usr/bin/python}' \ perl -i -pe 's{#!/usr/bin/env bash}{#!/bin/bash}' \ "$b/%_datadir/glusterfs/scripts"/*.sh +cp -a COPYING-GPLV2 COPYING-LGPLV3 ChangeLog NEWS README.md "$b/%_docdir/%name/" + mkdir -p "%buildroot/%_unitdir" ln -s service "%buildroot/%_sbindir/rcglusterd" chmod u-s "%buildroot/%_bindir/fusermount-glusterfs" @@ -200,16 +194,16 @@ rm -f "%buildroot/%_sbindir/conf.py" %fdupes %buildroot/%_prefix %pre -%service_add_pre glusterd.service glustereventsd.service glusterfssharedstorage.service +%service_add_pre glusterd.service glustereventsd.service glusterfssharedstorage.service gluster-ta-volume.service %post -%service_add_post glusterd.service glustereventsd.service glusterfssharedstorage.service +%service_add_post glusterd.service glustereventsd.service glusterfssharedstorage.service gluster-ta-volume.service %preun -%service_del_preun glusterd.service glustereventsd.service glusterfssharedstorage.service +%service_del_preun glusterd.service glustereventsd.service glusterfssharedstorage.service gluster-ta-volume.service %postun -%service_del_postun glusterd.service glustereventsd.service glusterfssharedstorage.service +%service_del_postun glusterd.service glustereventsd.service glusterfssharedstorage.service gluster-ta-volume.service %post -n libgfapi0 -p /sbin/ldconfig %postun -n libgfapi0 -p /sbin/ldconfig @@ -221,20 +215,18 @@ rm -f "%buildroot/%_sbindir/conf.py" %postun -n libgfxdr0 -p /sbin/ldconfig %post -n libglusterfs0 -p /sbin/ldconfig %postun -n libglusterfs0 -p /sbin/ldconfig -%post -n libgfdb0 -p /sbin/ldconfig -%postun -n libgfdb0 -p /sbin/ldconfig %files -%doc COPYING-GPLV2 COPYING-LGPLV3 ChangeLog NEWS README.md %dir %_sysconfdir/%name %config(noreplace) %_sysconfdir/%name/eventsconfig.json %config(noreplace) %_sysconfdir/%name/g*lusterd.vol %config(noreplace) %_sysconfdir/%name/glusterfs-logrotate -%config %_sysconfdir/%name/gluster-rsyslog*.conf -%config %_sysconfdir/%name/*.example -%config %_sysconfdir/%name/*-logrotate +%config %_sysconfdir/%name/gluster-rsyslog* +%config %_sysconfdir/%name/glusterfs-georep* %config %_sysconfdir/%name/group-* -%config %_sysconfdir/%name/gsyncd.conf +%config %_sysconfdir/%name/gsync* +%config %_sysconfdir/%name/logger* +%config %_sysconfdir/%name/thin* %_bindir/fusermount-glusterfs %_bindir/glusterfind /sbin/mount.%name @@ -255,6 +247,7 @@ rm -f "%buildroot/%_sbindir/conf.py" %_unitdir/glusterd.service %_unitdir/glustereventsd.service %_unitdir/glusterfssharedstorage.service +%_unitdir/gluster-ta-volume.service %_libexecdir/ocf %files -n libgfapi0 @@ -272,15 +265,8 @@ rm -f "%buildroot/%_sbindir/conf.py" %files -n libglusterfs0 %_libdir/libglusterfs.so.0* -%files -n libgfdb0 -%_libdir/libgfdb.so.0* - %files -n python-gluster -%dir %python_sitelib/gluster -%dir %python_sitelib/gluster/glupy -%python_sitelib/gluster/__init__.* -%python_sitelib/gluster/cliutils/ -%python_sitelib/gluster/glupy/__init__.* +%python3_sitelib/gluster/ %files devel %_includedir/%name