Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
This commit is contained in:
Kaleb S. KEITHLEY 2020-06-01 08:10:40 -04:00
parent 3737e32052
commit 1a06b53cf6
2 changed files with 224 additions and 166 deletions

View File

@ -7,7 +7,7 @@
%global _for_fedora_koji_builds 1 %global _for_fedora_koji_builds 1
# uncomment and add '%' to use the %%dev for pre-releases # uncomment and add '%' to use the %%dev for pre-releases
#%%global dev rc3 %global dev rc0
##----------------------------------------------------------------------------- ##-----------------------------------------------------------------------------
## All argument definitions should be placed here and keep them sorted ## All argument definitions should be placed here and keep them sorted
@ -73,16 +73,6 @@
# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without ocf # rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without ocf
%{?_without_ocf:%global _without_ocf --without-ocf} %{?_without_ocf:%global _without_ocf --without-ocf}
# rdma
# if you wish to compile an rpm without rdma support, compile like this...
# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without rdma
%{?_without_rdma:%global _without_rdma --disable-ibverbs}
# No RDMA Support on armv7hl
%ifarch armv7hl
%global _without_rdma --disable-ibverbs
%endif
# server # server
# if you wish to build rpms without server components, compile like this # if you wish to build rpms without server components, compile like this
# rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without server # rpmbuild -ta @PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz --without server
@ -195,8 +185,8 @@
Summary: Distributed File System Summary: Distributed File System
%if ( 0%{_for_fedora_koji_builds} ) %if ( 0%{_for_fedora_koji_builds} )
Name: glusterfs Name: glusterfs
Version: 7.6 Version: 8.0
Release: 2%{?dev:%{dev}}%{?dist} Release: 0.1%{?dev:%{dev}}%{?dist}
%else %else
Name: @PACKAGE_NAME@ Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@ Version: @PACKAGE_VERSION@
@ -258,28 +248,27 @@ BuildRequires: libattr-devel
BuildRequires: firewalld BuildRequires: firewalld
%endif %endif
Obsoletes: hekafs Obsoletes: hekafs <= %{version}-%{release}
Obsoletes: %{name}-common < %{version}-%{release} Obsoletes: %{name}-common < %{version}-%{release}
Obsoletes: %{name}-core < %{version}-%{release} Obsoletes: %{name}-core < %{version}-%{release}
%if ( 0%{_for_fedora_koji_builds} ) %if ( 0%{_for_fedora_koji_builds} )
Obsoletes: %{name}-regression-tests Obsoletes: %{name}-regression-tests <= %{version}-%{release}
%endif %endif
Obsoletes: %{name}-ufo Obsoletes: %{name}-ufo <= %{version}-%{release}
%if ( 0%{!?_with_gnfs:1} ) %if ( 0%{!?_with_gnfs:1} )
Obsoletes: %{name}-gnfs Obsoletes: %{name}-gnfs <= %{version}-%{release}
%endif %endif
Obsoletes: %{name}-ganesha Obsoletes: %{name}-rdma < %{version}-%{release}
Provides: %{name}-common = %{version}-%{release} Provides: %{name}-common = %{version}-%{release}
Provides: %{name}-core = %{version}-%{release} Provides: %{name}-core = %{version}-%{release}
%description %description
GlusterFS is a distributed file-system capable of scaling to several GlusterFS is a distributed file-system capable of scaling to several
petabytes. It aggregates various storage bricks over Infiniband RDMA petabytes. It aggregates various storage bricks over TCP/IP interconnect
or TCP/IP interconnect into one large parallel network file into one large parallel network filesystem. GlusterFS is one of the
system. GlusterFS is one of the most sophisticated file systems in most sophisticated file systems in terms of features and extensibility.
terms of features and extensibility. It borrows a powerful concept It borrows a powerful concept called Translators from GNU Hurd kernel.
called Translators from GNU Hurd kernel. Much of the code in GlusterFS Much of the code in GlusterFS is in user space and easily manageable.
is in user space and easily manageable.
This package includes the glusterfs binary, the glusterfsd daemon and the This package includes the glusterfs binary, the glusterfsd daemon and the
libglusterfs and glusterfs translator modules common to both GlusterFS server libglusterfs and glusterfs translator modules common to both GlusterFS server
@ -294,12 +283,11 @@ Requires(postun): /sbin/ldconfig
%description api %description api
GlusterFS is a distributed file-system capable of scaling to several GlusterFS is a distributed file-system capable of scaling to several
petabytes. It aggregates various storage bricks over Infiniband RDMA petabytes. It aggregates various storage bricks over TCP/IP interconnect
or TCP/IP interconnect into one large parallel network file into one large parallel network filesystem. GlusterFS is one of the
system. GlusterFS is one of the most sophisticated file systems in most sophisticated file systems in terms of features and extensibility.
terms of features and extensibility. It borrows a powerful concept It borrows a powerful concept called Translators from GNU Hurd kernel.
called Translators from GNU Hurd kernel. Much of the code in GlusterFS Much of the code in GlusterFS is in user space and easily manageable.
is in user space and easily manageable.
This package provides the glusterfs libgfapi library. This package provides the glusterfs libgfapi library.
@ -311,12 +299,11 @@ Requires: libacl-devel
%description api-devel %description api-devel
GlusterFS is a distributed file-system capable of scaling to several GlusterFS is a distributed file-system capable of scaling to several
petabytes. It aggregates various storage bricks over Infiniband RDMA petabytes. It aggregates various storage bricks over TCP/IP interconnect
or TCP/IP interconnect into one large parallel network file into one large parallel network filesystem. GlusterFS is one of the
system. GlusterFS is one of the most sophisticated file systems in most sophisticated file systems in terms of features and extensibility.
terms of features and extensibility. It borrows a powerful concept It borrows a powerful concept called Translators from GNU Hurd kernel.
called Translators from GNU Hurd kernel. Much of the code in GlusterFS Much of the code in GlusterFS is in user space and easily manageable.
is in user space and easily manageable.
This package provides the api include files. This package provides the api include files.
@ -326,12 +313,11 @@ Requires: %{name}-libs = %{version}-%{release}
%description cli %description cli
GlusterFS is a distributed file-system capable of scaling to several GlusterFS is a distributed file-system capable of scaling to several
petabytes. It aggregates various storage bricks over Infiniband RDMA petabytes. It aggregates various storage bricks over TCP/IP interconnect
or TCP/IP interconnect into one large parallel network file into one large parallel network filesystem. GlusterFS is one of the
system. GlusterFS is one of the most sophisticated file systems in most sophisticated file systems in terms of features and extensibility.
terms of features and extensibility. It borrows a powerful concept It borrows a powerful concept called Translators from GNU Hurd kernel.
called Translators from GNU Hurd kernel. Much of the code in GlusterFS Much of the code in GlusterFS is in user space and easily manageable.
is in user space and easily manageable.
This package provides the GlusterFS CLI application and its man page This package provides the GlusterFS CLI application and its man page
@ -340,12 +326,11 @@ Summary: GlusterFS client-side translators
%description client-xlators %description client-xlators
GlusterFS is a distributed file-system capable of scaling to several GlusterFS is a distributed file-system capable of scaling to several
petabytes. It aggregates various storage bricks over Infiniband RDMA petabytes. It aggregates various storage bricks over TCP/IP interconnect
or TCP/IP interconnect into one large parallel network file into one large parallel network filesystem. GlusterFS is one of the
system. GlusterFS is one of the most sophisticated file systems in most sophisticated file systems in terms of features and extensibility.
terms of features and extensibility. It borrows a powerful concept It borrows a powerful concept called Translators from GNU Hurd kernel.
called Translators from GNU Hurd kernel. Much of the code in GlusterFS Much of the code in GlusterFS is in user space and easily manageable.
is in user space and easily manageable.
This package provides the translators needed on any GlusterFS client. This package provides the translators needed on any GlusterFS client.
@ -355,12 +340,11 @@ BuildRequires: libcurl-devel
%description cloudsync-plugins %description cloudsync-plugins
GlusterFS is a distributed file-system capable of scaling to several GlusterFS is a distributed file-system capable of scaling to several
petabytes. It aggregates various storage bricks over Infiniband RDMA petabytes. It aggregates various storage bricks over TCP/IP interconnect
or TCP/IP interconnect into one large parallel network file into one large parallel network filesystem. GlusterFS is one of the
system. GlusterFS is one of the most sophisticated file systems in most sophisticated file systems in terms of features and extensibility.
terms of features and extensibility. It borrows a powerful concept It borrows a powerful concept called Translators from GNU Hurd kernel.
called Translators from GNU Hurd kernel. Much of the code in GlusterFS Much of the code in GlusterFS is in user space and easily manageable.
is in user space and easily manageable.
This package provides cloudsync plugins for archival feature. This package provides cloudsync plugins for archival feature.
@ -372,12 +356,11 @@ Requires: %{name}-extra-xlators = %{version}-%{release}
%description devel %description devel
GlusterFS is a distributed file-system capable of scaling to several GlusterFS is a distributed file-system capable of scaling to several
petabytes. It aggregates various storage bricks over Infiniband RDMA petabytes. It aggregates various storage bricks over TCP/IP interconnect
or TCP/IP interconnect into one large parallel network file into one large parallel network filesystem. GlusterFS is one of the
system. GlusterFS is one of the most sophisticated file systems in most sophisticated file systems in terms of features and extensibility.
terms of features and extensibility. It borrows a powerful concept It borrows a powerful concept called Translators from GNU Hurd kernel.
called Translators from GNU Hurd kernel. Much of the code in GlusterFS Much of the code in GlusterFS is in user space and easily manageable.
is in user space and easily manageable.
This package provides the development libraries and include files. This package provides the development libraries and include files.
@ -401,12 +384,11 @@ Requires: python-argparse
%description events %description events
GlusterFS is a distributed file-system capable of scaling to several GlusterFS is a distributed file-system capable of scaling to several
petabytes. It aggregates various storage bricks over Infiniband RDMA petabytes. It aggregates various storage bricks over TCP/IP interconnect
or TCP/IP interconnect into one large parallel network file into one large parallel network filesystem. GlusterFS is one of the
system. GlusterFS is one of the most sophisticated file systems in most sophisticated file systems in terms of features and extensibility.
terms of features and extensibility. It borrows a powerful concept It borrows a powerful concept called Translators from GNU Hurd kernel.
called Translators from GNU Hurd kernel. Much of the code in GlusterFS Much of the code in GlusterFS is in user space and easily manageable.
is in user space and easily manageable.
This package provides the GlusterFS Events This package provides the GlusterFS Events
%endif %endif
@ -420,12 +402,11 @@ Requires: python%{_pythonver}
%description extra-xlators %description extra-xlators
GlusterFS is a distributed file-system capable of scaling to several GlusterFS is a distributed file-system capable of scaling to several
petabytes. It aggregates various storage bricks over Infiniband RDMA petabytes. It aggregates various storage bricks over TCP/IP interconnect
or TCP/IP interconnect into one large parallel network file into one large parallel network filesystem. GlusterFS is one of the
system. GlusterFS is one of the most sophisticated file systems in most sophisticated file systems in terms of features and extensibility.
terms of features and extensibility. It borrows a powerful concept It borrows a powerful concept called Translators from GNU Hurd kernel.
called Translators from GNU Hurd kernel. Much of the code in GlusterFS Much of the code in GlusterFS is in user space and easily manageable.
is in user space and easily manageable.
This package provides extra filesystem Translators, such as Glupy, This package provides extra filesystem Translators, such as Glupy,
for GlusterFS. for GlusterFS.
@ -444,16 +425,59 @@ Provides: %{name}-client = %{version}-%{release}
%description fuse %description fuse
GlusterFS is a distributed file-system capable of scaling to several GlusterFS is a distributed file-system capable of scaling to several
petabytes. It aggregates various storage bricks over Infiniband RDMA petabytes. It aggregates various storage bricks over TCP/IP interconnect
or TCP/IP interconnect into one large parallel network file into one large parallel network filesystem. GlusterFS is one of the
system. GlusterFS is one of the most sophisticated file systems in most sophisticated file systems in terms of features and extensibility.
terms of features and extensibility. It borrows a powerful concept It borrows a powerful concept called Translators from GNU Hurd kernel.
called Translators from GNU Hurd kernel. Much of the code in GlusterFS Much of the code in GlusterFS is in user space and easily manageable.
is in user space and easily manageable.
This package provides support to FUSE based clients and includes the This package provides support to FUSE based clients and includes the
glusterfsd and glusterfs binaries. glusterfsd and glusterfs binaries.
%if ( 0%{!?_without_server:1} )
%package ganesha
Summary: NFS-Ganesha configuration
Group: Applications/File
Requires: %{name}-server%{?_isa} = %{version}-%{release}
Requires: nfs-ganesha-selinux >= 2.7.6
Requires: nfs-ganesha-gluster >= 2.7.6
Requires: pcs >= 0.10.0
Requires: resource-agents >= 4.2.0
Requires: dbus
%if ( 0%{?rhel} && 0%{?rhel} == 6 )
Requires: cman, pacemaker, corosync
%endif
%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} > 5 )
# we need portblock resource-agent in 3.9.5 and later.
Requires: net-tools
%endif
%if ( 0%{?fedora} && 0%{?fedora} > 25 || ( 0%{?rhel} && 0%{?rhel} > 6 ) )
%if ( 0%{?rhel} && 0%{?rhel} < 8 )
Requires: selinux-policy >= 3.13.1-160
Requires(post): policycoreutils-python
Requires(postun): policycoreutils-python
%else
Requires(post): policycoreutils-python-utils
Requires(postun): policycoreutils-python-utils
%endif
%endif
%description ganesha
GlusterFS is a distributed file-system capable of scaling to several
petabytes. It aggregates various storage bricks over TCP/IP interconnect
into one large parallel network filesystem. GlusterFS is one of the
most sophisticated file systems in terms of features and extensibility.
It borrows a powerful concept called Translators from GNU Hurd kernel.
Much of the code in GlusterFS is in user space and easily manageable.
This package provides the configuration and related files for using
NFS-Ganesha as the NFS server using GlusterFS
%endif
%if ( 0%{!?_without_georeplication:1} ) %if ( 0%{!?_without_georeplication:1} )
%package geo-replication %package geo-replication
Summary: GlusterFS Geo-replication Summary: GlusterFS Geo-replication
@ -466,12 +490,11 @@ Requires: rsync
%description geo-replication %description geo-replication
GlusterFS is a distributed file-system capable of scaling to several GlusterFS is a distributed file-system capable of scaling to several
peta-bytes. It aggregates various storage bricks over Infiniband RDMA petabytes. It aggregates various storage bricks over TCP/IP interconnect
or TCP/IP interconnect into one large parallel network file into one large parallel network filesystem. GlusterFS is one of the
system. GlusterFS is one of the most sophisticated file system in most sophisticated file systems in terms of features and extensibility.
terms of features and extensibility. It borrows a powerful concept It borrows a powerful concept called Translators from GNU Hurd kernel.
called Translators from GNU Hurd kernel. Much of the code in GlusterFS Much of the code in GlusterFS is in user space and easily manageable.
is in userspace and easily manageable.
This package provides support to geo-replication. This package provides support to geo-replication.
%endif %endif
@ -502,12 +525,11 @@ Requires(postun): /sbin/ldconfig
%description libs %description libs
GlusterFS is a distributed file-system capable of scaling to several GlusterFS is a distributed file-system capable of scaling to several
petabytes. It aggregates various storage bricks over Infiniband RDMA petabytes. It aggregates various storage bricks over TCP/IP interconnect
or TCP/IP interconnect into one large parallel network file into one large parallel network filesystem. GlusterFS is one of the
system. GlusterFS is one of the most sophisticated file systems in most sophisticated file systems in terms of features and extensibility.
terms of features and extensibility. It borrows a powerful concept It borrows a powerful concept called Translators from GNU Hurd kernel.
called Translators from GNU Hurd kernel. Much of the code in GlusterFS Much of the code in GlusterFS is in user space and easily manageable.
is in user space and easily manageable.
This package provides the base GlusterFS libraries This package provides the base GlusterFS libraries
@ -522,39 +544,15 @@ Obsoletes: python-gluster < 3.10
%description -n python%{_pythonver}-gluster %description -n python%{_pythonver}-gluster
GlusterFS is a distributed file-system capable of scaling to several GlusterFS is a distributed file-system capable of scaling to several
petabytes. It aggregates various storage bricks over Infiniband RDMA petabytes. It aggregates various storage bricks over TCP/IP interconnect
or TCP/IP interconnect into one large parallel network file into one large parallel network filesystem. GlusterFS is one of the
system. GlusterFS is one of the most sophisticated file systems in most sophisticated file systems in terms of features and extensibility.
terms of features and extensibility. It borrows a powerful concept It borrows a powerful concept called Translators from GNU Hurd kernel.
called Translators from GNU Hurd kernel. Much of the code in GlusterFS Much of the code in GlusterFS is in user space and easily manageable.
is in user space and easily manageable.
This package contains the python modules of GlusterFS and own gluster This package contains the python modules of GlusterFS and own gluster
namespace. namespace.
%if ( 0%{!?_without_rdma:1} )
%package rdma
Summary: GlusterFS rdma support for ib-verbs
%if ( 0%{?fedora} && 0%{?fedora} > 26 )
BuildRequires: rdma-core-devel
%else
BuildRequires: libibverbs-devel
BuildRequires: librdmacm-devel >= 1.0.15
%endif
Requires: %{name} = %{version}-%{release}
%description rdma
GlusterFS is a distributed file-system capable of scaling to several
petabytes. It aggregates various storage bricks over Infiniband RDMA
or TCP/IP interconnect into one large parallel network file
system. GlusterFS is one of the most sophisticated file systems in
terms of features and extensibility. It borrows a powerful concept
called Translators from GNU Hurd kernel. Much of the code in GlusterFS
is in user space and easily manageable.
This package provides support to ib-verbs library.
%endif
%if ( ! 0%{_for_fedora_koji_builds} ) %if ( ! 0%{_for_fedora_koji_builds} )
%package regression-tests %package regression-tests
Summary: Development Tools Summary: Development Tools
@ -584,12 +582,11 @@ Requires: %{_prefix}/lib/ocf/resource.d
%description resource-agents %description resource-agents
GlusterFS is a distributed file-system capable of scaling to several GlusterFS is a distributed file-system capable of scaling to several
petabytes. It aggregates various storage bricks over Infiniband RDMA petabytes. It aggregates various storage bricks over TCP/IP interconnect
or TCP/IP interconnect into one large parallel network file into one large parallel network filesystem. GlusterFS is one of the
system. GlusterFS is one of the most sophisticated file systems in most sophisticated file systems in terms of features and extensibility.
terms of features and extensibility. It borrows a powerful concept It borrows a powerful concept called Translators from GNU Hurd kernel.
called Translators from GNU Hurd kernel. Much of the code in GlusterFS Much of the code in GlusterFS is in user space and easily manageable.
is in user space and easily manageable.
This package provides the resource agents which plug glusterd into This package provides the resource agents which plug glusterd into
Open Cluster Framework (OCF) compliant cluster resource managers, Open Cluster Framework (OCF) compliant cluster resource managers,
@ -776,6 +773,15 @@ sed -i 's|option working-directory /etc/glusterd|option working-directory %{_sha
install -D -p -m 0644 extras/glusterfs-logrotate \ install -D -p -m 0644 extras/glusterfs-logrotate \
%{buildroot}%{_sysconfdir}/logrotate.d/glusterfs %{buildroot}%{_sysconfdir}/logrotate.d/glusterfs
# ganesha ghosts
%if ( 0%{!?_without_server:1} )
mkdir -p %{buildroot}%{_sysconfdir}/ganesha
touch %{buildroot}%{_sysconfdir}/ganesha/ganesha-ha.conf
mkdir -p %{buildroot}%{_localstatedir}/run/gluster/shared_storage/nfs-ganesha/
touch %{buildroot}%{_localstatedir}/run/gluster/shared_storage/nfs-ganesha/ganesha.conf
touch %{buildroot}%{_localstatedir}/run/gluster/shared_storage/nfs-ganesha/ganesha-ha.conf
%endif
%if ( 0%{!?_without_georeplication:1} ) %if ( 0%{!?_without_georeplication:1} )
# geo-rep ghosts # geo-rep ghosts
mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/geo-replication mkdir -p %{buildroot}%{_sharedstatedir}/glusterd/geo-replication
@ -834,6 +840,14 @@ exit 0
exit 0 exit 0
%endif %endif
%if ( 0%{!?_without_server:1} )
%if ( 0%{?fedora} && 0%{?fedora} > 25 || ( 0%{?rhel} && 0%{?rhel} > 6 ) )
%post ganesha
semanage boolean -m ganesha_use_fusefs --on
exit 0
%endif
%endif
%if ( 0%{!?_without_georeplication:1} ) %if ( 0%{!?_without_georeplication:1} )
%post geo-replication %post geo-replication
if [ $1 -ge 1 ]; then if [ $1 -ge 1 ]; then
@ -991,6 +1005,36 @@ exit 0
exit 0 exit 0
%endif %endif
%if ( 0%{!?_without_server:1} )
%if ( 0%{?fedora} && 0%{?fedora} > 25 || ( 0%{?rhel} && 0%{?rhel} > 6 ) )
%postun ganesha
semanage boolean -m ganesha_use_fusefs --off
exit 0
%endif
%endif
##-----------------------------------------------------------------------------
## All %%trigger should be placed here and keep them sorted
##
%if ( 0%{!?_without_server:1} )
%if ( 0%{?fedora} && 0%{?fedora} > 25 || ( 0%{?rhel} && 0%{?rhel} > 6 ) )
%trigger ganesha -- selinux-policy-targeted
semanage boolean -m ganesha_use_fusefs --on
exit 0
%endif
%endif
##-----------------------------------------------------------------------------
## All %%triggerun should be placed here and keep them sorted
##
%if ( 0%{!?_without_server:1} )
%if ( 0%{?fedora} && 0%{?fedora} > 25 || ( 0%{?rhel} && 0%{?rhel} > 6 ) )
%triggerun ganesha -- selinux-policy-targeted
semanage boolean -m ganesha_use_fusefs --off
exit 0
%endif
%endif
##----------------------------------------------------------------------------- ##-----------------------------------------------------------------------------
## All %%files should be placed here and keep them sorted by groups ## All %%files should be placed here and keep them sorted by groups
## ##
@ -1060,6 +1104,13 @@ exit 0
%{_tmpfilesdir}/gluster.conf %{_tmpfilesdir}/gluster.conf
%endif %endif
%if ( 0%{?_without_server:1} )
#exclude ganesha related files
%exclude %{_sysconfdir}/ganesha/ganesha-ha.conf.sample
%exclude %{_libexecdir}/ganesha/*
%exclude %{_prefix}/lib/ocf/resource.d/heartbeat/*
%endif
%files api %files api
%exclude %{_libdir}/*.so %exclude %{_libdir}/*.so
# libgfapi files # libgfapi files
@ -1098,6 +1149,22 @@ exit 0
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/libgfchangelog.pc %{_libdir}/pkgconfig/libgfchangelog.pc
# Events
%if ( 0%{!?_without_events:1} )
%files events
%config(noreplace) %{_sysconfdir}/glusterfs/eventsconfig.json
%dir %{_sharedstatedir}/glusterd
%dir %{_sharedstatedir}/glusterd/events
%dir %{_libexecdir}/glusterfs
%dir %{_libexecdir}/glusterfs/gfevents
%{_libexecdir}/glusterfs/gfevents/*
%{_libexecdir}/glusterfs/peer_eventsapi.py*
%{_sbindir}/glustereventsd
%{_sbindir}/gluster-eventsapi
%{_datadir}/glusterfs/scripts/eventsdash.py*
%{_unitdir}/glustereventsd.service
%endif
%files extra-xlators %files extra-xlators
%dir %{_libdir}/glusterfs/%{version}%{?dev}/xlator/features %dir %{_libdir}/glusterfs/%{version}%{?dev}/xlator/features
%{_libdir}/glusterfs/%{version}%{?dev}/xlator/features/quiesce.so %{_libdir}/glusterfs/%{version}%{?dev}/xlator/features/quiesce.so
@ -1126,16 +1193,19 @@ exit 0
%ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/nfs/run/nfs.pid %ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/nfs/run/nfs.pid
%endif %endif
%files thin-arbiter
%dir %{_libdir}/glusterfs/%{version}%{?dev}/xlator
%dir %{_libdir}/glusterfs/%{version}%{?dev}/xlator/features
%{_libdir}/glusterfs/%{version}%{?dev}/xlator/features/thin-arbiter.so
%dir %{_datadir}/glusterfs/scripts
%{_datadir}/glusterfs/scripts/setup-thin-arbiter.sh
%config %{_sysconfdir}/glusterfs/thin-arbiter.vol
%{_unitdir}/gluster-ta-volume.service
%if ( 0%{!?_without_server:1} )
%files ganesha
%dir %{_libexecdir}/ganesha
%{_sysconfdir}/ganesha/ganesha-ha.conf.sample
%{_libexecdir}/ganesha/*
%{_prefix}/lib/ocf/resource.d/heartbeat/*
%{_sharedstatedir}/glusterd/hooks/1/start/post/S31ganesha-start.sh
%ghost %attr(0644,-,-) %config(noreplace) %{_sysconfdir}/ganesha/ganesha-ha.conf
%ghost %dir %attr(0755,-,-) %{_localstatedir}/run/gluster/shared_storage/nfs-ganesha
%ghost %attr(0644,-,-) %config(noreplace) %{_localstatedir}/run/gluster/shared_storage/nfs-ganesha/ganesha.conf
%ghost %attr(0644,-,-) %config(noreplace) %{_localstatedir}/run/gluster/shared_storage/nfs-ganesha/ganesha-ha.conf
%endif
%if ( 0%{!?_without_georeplication:1} ) %if ( 0%{!?_without_georeplication:1} )
%files geo-replication %files geo-replication
@ -1148,6 +1218,13 @@ exit 0
%dir %{_libexecdir}/glusterfs/python/syncdaemon %dir %{_libexecdir}/glusterfs/python/syncdaemon
%{_libexecdir}/glusterfs/gsyncd %{_libexecdir}/glusterfs/gsyncd
%{_libexecdir}/glusterfs/python/syncdaemon/* %{_libexecdir}/glusterfs/python/syncdaemon/*
%dir %{_libexecdir}/glusterfs/scripts
%{_libexecdir}/glusterfs/scripts/get-gfid.sh
%{_libexecdir}/glusterfs/scripts/slave-upgrade.sh
%{_libexecdir}/glusterfs/scripts/gsync-upgrade.sh
%{_libexecdir}/glusterfs/scripts/generate-gfid-file.sh
%{_libexecdir}/glusterfs/scripts/gsync-sync-gfid
%{_libexecdir}/glusterfs/scripts/schedule_georep.py*
%{_libexecdir}/glusterfs/gverify.sh %{_libexecdir}/glusterfs/gverify.sh
%{_libexecdir}/glusterfs/set_geo_rep_pem_keys.sh %{_libexecdir}/glusterfs/set_geo_rep_pem_keys.sh
%{_libexecdir}/glusterfs/peer_gsec_create %{_libexecdir}/glusterfs/peer_gsec_create
@ -1164,15 +1241,6 @@ exit 0
%dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/gsync-create/post %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/gsync-create/post
%attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/gsync-create/post/S56glusterd-geo-rep-create-post.sh %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/gsync-create/post/S56glusterd-geo-rep-create-post.sh
%ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/gsync-create/pre %ghost %dir %attr(0755,-,-) %{_sharedstatedir}/glusterd/hooks/1/gsync-create/pre
%dir %{_datadir}/glusterfs
%dir %{_datadir}/glusterfs/scripts
%{_datadir}/glusterfs/scripts/get-gfid.sh
%{_datadir}/glusterfs/scripts/slave-upgrade.sh
%{_datadir}/glusterfs/scripts/gsync-upgrade.sh
%{_datadir}/glusterfs/scripts/generate-gfid-file.sh
%{_datadir}/glusterfs/scripts/gsync-sync-gfid
%{_datadir}/glusterfs/scripts/schedule_georep.py*
%endif %endif
%files libs %files libs
@ -1194,12 +1262,6 @@ exit 0
%{python2_sitelib}/gluster/cliutils %{python2_sitelib}/gluster/cliutils
%endif %endif
%if ( 0%{!?_without_rdma:1} )
%files rdma
%dir %{_libdir}/glusterfs/%{version}%{?dev}/rpc-transport
%{_libdir}/glusterfs/%{version}%{?dev}/rpc-transport/rdma*
%endif
%if ( ! 0%{_for_fedora_koji_builds} ) %if ( ! 0%{_for_fedora_koji_builds} )
%files regression-tests %files regression-tests
%dir %{_prefix}/share/glusterfs %dir %{_prefix}/share/glusterfs
@ -1241,7 +1303,7 @@ exit 0
# binaries # binaries
%{_sbindir}/glusterd %{_sbindir}/glusterd
%{_sbindir}/glfsheal %{_libexecdir}/glusterfs/glfsheal
%{_sbindir}/gf_attach %{_sbindir}/gf_attach
%{_sbindir}/gluster-setgfid2path %{_sbindir}/gluster-setgfid2path
# {_sbindir}/glusterfsd is the actual binary, but glusterfs (client) is a # {_sbindir}/glusterfsd is the actual binary, but glusterfs (client) is a
@ -1364,23 +1426,19 @@ exit 0
# end of server files # end of server files
%endif %endif
# Events %files thin-arbiter
%if ( 0%{!?_without_events:1} ) %dir %{_libdir}/glusterfs/%{version}%{?dev}/xlator
%files events %dir %{_libdir}/glusterfs/%{version}%{?dev}/xlator/features
%config(noreplace) %{_sysconfdir}/glusterfs/eventsconfig.json %{_libdir}/glusterfs/%{version}%{?dev}/xlator/features/thin-arbiter.so
%dir %{_sharedstatedir}/glusterd %dir %{_datadir}/glusterfs/scripts
%dir %{_sharedstatedir}/glusterd/events %{_datadir}/glusterfs/scripts/setup-thin-arbiter.sh
%dir %{_libexecdir}/glusterfs %config %{_sysconfdir}/glusterfs/thin-arbiter.vol
%dir %{_libexecdir}/glusterfs/gfevents %{_unitdir}/gluster-ta-volume.service
%{_libexecdir}/glusterfs/gfevents/*
%{_libexecdir}/glusterfs/peer_eventsapi.py*
%{_sbindir}/glustereventsd
%{_sbindir}/gluster-eventsapi
%{_datadir}/glusterfs/scripts/eventsdash.py*
%{_unitdir}/glustereventsd.service
%endif
%changelog %changelog
* Mon Jun 1 2020 Kaleb S. KEITHLEY <kkeithle[at]redhat.com> - 8.0-0.1rc0
- 8.0 RC0
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 7.6-2 * Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 7.6-2
- Rebuilt for Python 3.9 - Rebuilt for Python 3.9

View File

@ -1 +1 @@
SHA512 (glusterfs-7.6.tar.gz) = c26b2046e7afdbb37fdd395fd9f692a0513ebb58c91ea223fbbaf9f8b41641b1fd009f2975e187f0feb8d83fb5cd4a8a0c2fdf4591a8a31e920d6bba75ae7c0f SHA512 (glusterfs-8.0rc0.tar.gz) = f435cf564b1f435f39efe86e1a2b8a195171c1957d5646959eccc69080d8f472db2897d164a71aefa98aca9458211f367e1fe4347ee78afe65f31c832e10d52b