|
|
e3c68b |
From 40eb62a8872ce061416e899fb6c0784b6253ab16 Mon Sep 17 00:00:00 2001
|
|
|
e3c68b |
From: Niels de Vos <ndevos@redhat.com>
|
|
|
e3c68b |
Date: Fri, 7 Dec 2018 14:05:21 +0530
|
|
|
e3c68b |
Subject: [PATCH 11/52] rpm: glusterfs-devel for client-builds should not
|
|
|
e3c68b |
depend on -server
|
|
|
e3c68b |
|
|
|
e3c68b |
glusterfs-devel for client-side packages should *not* include the
|
|
|
e3c68b |
libgfdb.so symlink and libgfdb.pc file or any of the libchangelog
|
|
|
e3c68b |
ones.
|
|
|
e3c68b |
|
|
|
e3c68b |
Label: DOWNSTREAM ONLY
|
|
|
e3c68b |
|
|
|
e3c68b |
Change-Id: Ifb4a9cf48841e5af5dd0a98b6de51e2ee469fc56
|
|
|
e3c68b |
Signed-off-by: Niels de Vos <ndevos@redhat.com>
|
|
|
e3c68b |
Reviewed-on: https://code.engineering.redhat.com/gerrit/51019
|
|
|
e3c68b |
Reviewed-by: Balamurugan Arumugam <barumuga@redhat.com>
|
|
|
e3c68b |
Tested-by: Balamurugan Arumugam <barumuga@redhat.com>
|
|
|
e3c68b |
Reviewed-on: https://code.engineering.redhat.com/gerrit/60139
|
|
|
e3c68b |
Tested-by: Milind Changire <mchangir@redhat.com>
|
|
|
e3c68b |
---
|
|
|
e3c68b |
glusterfs.spec.in | 86 +++++++++++++++++++++++++++++++++++++++----------------
|
|
|
e3c68b |
1 file changed, 62 insertions(+), 24 deletions(-)
|
|
|
e3c68b |
|
|
|
e3c68b |
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
|
|
|
e3c68b |
index b70dbfc..1c631db 100644
|
|
|
e3c68b |
--- a/glusterfs.spec.in
|
|
|
e3c68b |
+++ b/glusterfs.spec.in
|
|
|
e3c68b |
@@ -450,30 +450,6 @@ is in user space and easily manageable.
|
|
|
e3c68b |
This package provides support to FUSE based clients and inlcudes the
|
|
|
e3c68b |
glusterfs(d) binary.
|
|
|
e3c68b |
|
|
|
e3c68b |
-%if ( 0%{!?_without_server:1} )
|
|
|
e3c68b |
-%package ganesha
|
|
|
e3c68b |
-Summary: NFS-Ganesha configuration
|
|
|
e3c68b |
-Group: Applications/File
|
|
|
e3c68b |
-
|
|
|
e3c68b |
-Requires: %{name}-server%{?_isa} = %{version}-%{release}
|
|
|
e3c68b |
-Requires: nfs-ganesha-gluster, pcs, dbus
|
|
|
e3c68b |
-%if ( 0%{?rhel} && 0%{?rhel} == 6 )
|
|
|
e3c68b |
-Requires: cman, pacemaker, corosync
|
|
|
e3c68b |
-%endif
|
|
|
e3c68b |
-
|
|
|
e3c68b |
-%description ganesha
|
|
|
e3c68b |
-GlusterFS is a distributed file-system capable of scaling to several
|
|
|
e3c68b |
-petabytes. It aggregates various storage bricks over Infiniband RDMA
|
|
|
e3c68b |
-or TCP/IP interconnect into one large parallel network file
|
|
|
e3c68b |
-system. GlusterFS is one of the most sophisticated file systems in
|
|
|
e3c68b |
-terms of features and extensibility. It borrows a powerful concept
|
|
|
e3c68b |
-called Translators from GNU Hurd kernel. Much of the code in GlusterFS
|
|
|
e3c68b |
-is in user space and easily manageable.
|
|
|
e3c68b |
-
|
|
|
e3c68b |
-This package provides the configuration and related files for using
|
|
|
e3c68b |
-NFS-Ganesha as the NFS server using GlusterFS
|
|
|
e3c68b |
-%endif
|
|
|
e3c68b |
-
|
|
|
e3c68b |
%if ( 0%{!?_without_georeplication:1} )
|
|
|
e3c68b |
%package geo-replication
|
|
|
e3c68b |
Summary: GlusterFS Geo-replication
|
|
|
e3c68b |
@@ -1157,6 +1133,62 @@ exit 0
|
|
|
e3c68b |
%exclude %{_datadir}/glusterfs/run-tests.sh
|
|
|
e3c68b |
%exclude %{_datadir}/glusterfs/tests
|
|
|
e3c68b |
%endif
|
|
|
e3c68b |
+%if 0%{?_without_server:1}
|
|
|
e3c68b |
+%exclude %{_sysconfdir}/glusterfs/gluster-rsyslog-5.8.conf
|
|
|
e3c68b |
+%exclude %{_sysconfdir}/glusterfs/gluster-rsyslog-7.2.conf
|
|
|
e3c68b |
+%exclude %{_sysconfdir}/glusterfs/glusterd.vol
|
|
|
e3c68b |
+%exclude %{_sysconfdir}/glusterfs/glusterfs-georep-logrotate
|
|
|
e3c68b |
+%exclude %{_sysconfdir}/glusterfs/glusterfs-logrotate
|
|
|
e3c68b |
+%exclude %{_sysconfdir}/glusterfs/group-db-workload
|
|
|
e3c68b |
+%exclude %{_sysconfdir}/glusterfs/group-distributed-virt
|
|
|
e3c68b |
+%exclude %{_sysconfdir}/glusterfs/group-gluster-block
|
|
|
e3c68b |
+%exclude %{_sysconfdir}/glusterfs/group-metadata-cache
|
|
|
e3c68b |
+%exclude %{_sysconfdir}/glusterfs/group-nl-cache
|
|
|
e3c68b |
+%exclude %{_sysconfdir}/glusterfs/group-virt.example
|
|
|
e3c68b |
+%exclude %{_sysconfdir}/glusterfs/logger.conf.example
|
|
|
e3c68b |
+%exclude %{_sysconfdir}/rsyslog.d/gluster.conf.example
|
|
|
e3c68b |
+%exclude %{_prefix}/bin/glusterfind
|
|
|
e3c68b |
+%exclude %{_prefix}/lib/firewalld/services/glusterfs.xml
|
|
|
e3c68b |
+%exclude %{_prefix}/lib/systemd/system/glusterd.service
|
|
|
e3c68b |
+%exclude %{_prefix}/lib/systemd/system/glusterfssharedstorage.service
|
|
|
e3c68b |
+%exclude %{_prefix}/lib/tmpfiles.d/gluster.conf
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/arbiter.so
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/bit-rot.so
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/bitrot-stub.so
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/index.so
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/leases.so
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/locks.so
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/marker.so
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/posix-locks.so
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/quota.so
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/quotad.so
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/sdfs.so
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/selinux.so
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/snapview-server.so
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/thin-arbiter.so
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/trash.so
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/features/upcall.so
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/mgmt/glusterd.so
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/performance/decompounder.so
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/protocol/server.so
|
|
|
e3c68b |
+%exclude %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/storage/posix.so
|
|
|
e3c68b |
+%exclude %{_libexecdir}/glusterfs/*
|
|
|
e3c68b |
+%exclude %{_sbindir}/conf.py
|
|
|
e3c68b |
+%exclude %{_sbindir}/gcron.py
|
|
|
e3c68b |
+%exclude %{_sbindir}/gf_attach
|
|
|
e3c68b |
+%exclude %{_sbindir}/gfind_missing_files
|
|
|
e3c68b |
+%exclude %{_sbindir}/glfsheal
|
|
|
e3c68b |
+%exclude %{_sbindir}/gluster
|
|
|
e3c68b |
+%exclude %{_sbindir}/gluster-setgfid2path
|
|
|
e3c68b |
+%exclude %{_sbindir}/glusterd
|
|
|
e3c68b |
+%exclude %{_sbindir}/snap_scheduler.py
|
|
|
e3c68b |
+%exclude %{_datadir}/glusterfs/scripts/control-cpu-load.sh
|
|
|
e3c68b |
+%exclude %{_datadir}/glusterfs/scripts/control-mem.sh
|
|
|
e3c68b |
+%exclude %{_datadir}/glusterfs/scripts/post-upgrade-script-for-quota.sh
|
|
|
e3c68b |
+%exclude %{_datadir}/glusterfs/scripts/pre-upgrade-script-for-quota.sh
|
|
|
e3c68b |
+%exclude %{_datadir}/glusterfs/scripts/stop-all-gluster-processes.sh
|
|
|
e3c68b |
+%exclude %{_sharedstatedir}/glusterd/*
|
|
|
e3c68b |
+%endif
|
|
|
e3c68b |
|
|
|
e3c68b |
%files api
|
|
|
e3c68b |
%exclude %{_libdir}/*.so
|
|
|
e3c68b |
@@ -1190,7 +1222,13 @@ exit 0
|
|
|
e3c68b |
%exclude %{_includedir}/glusterfs/api
|
|
|
e3c68b |
%exclude %{_libdir}/libgfapi.so
|
|
|
e3c68b |
%{_libdir}/*.so
|
|
|
e3c68b |
+%if ( 0%{?_without_server:1} )
|
|
|
e3c68b |
+%exclude %{_libdir}/pkgconfig/libgfchangelog.pc
|
|
|
e3c68b |
+%exclude %{_libdir}/libgfchangelog.so
|
|
|
e3c68b |
+%else
|
|
|
e3c68b |
%{_libdir}/pkgconfig/libgfchangelog.pc
|
|
|
e3c68b |
+%{_libdir}/libgfchangelog.so
|
|
|
e3c68b |
+%endif
|
|
|
e3c68b |
|
|
|
e3c68b |
%files client-xlators
|
|
|
e3c68b |
%dir %{_libdir}/glusterfs/%{version}%{?prereltag}/xlator
|
|
|
e3c68b |
--
|
|
|
e3c68b |
1.8.3.1
|
|
|
e3c68b |
|