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