summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2019-06-14 12:43:45 +0200
committerAmar Tumballi <amarts@redhat.com>2019-06-15 03:57:04 +0000
commit82b8458ac6d31c72dc7a2f69df7f50bb1e4b7618 (patch)
tree64eba853004819ef5d386e5764721ad60e0e0147 /glusterfs.spec.in
parente7211901e9f987d0efcd7d699c995634fc9f24d6 (diff)
build: always build glusterfs-cli to allow monitoring/managing from clients
Fixes: bz#1720615 Change-Id: I5071f3255ff615113b36b08cd5326be6e37d907d Signed-off-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in9
1 files changed, 3 insertions, 6 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 8c58ec73e82..e815137b8d7 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -348,7 +348,6 @@ is in user space and easily manageable.
This package provides the api include files.
-%if ( 0%{!?_without_server:1} )
%package cli
Summary: GlusterFS CLI
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
@@ -363,7 +362,6 @@ called Translators from GNU Hurd kernel. Much of the code in GlusterFS
is in user space and easily manageable.
This package provides the GlusterFS CLI application and its man page
-%endif
%package cloudsync-plugins
Summary: Cloudsync Plugins
@@ -835,10 +833,8 @@ touch %{buildroot}%{_sharedstatedir}/glusterd/nfs/run/nfs.pid
find ./tests ./run-tests.sh -type f | cpio -pd %{buildroot}%{_prefix}/share/glusterfs
## Install bash completion for cli
-%if ( 0%{!?_without_server:1} )
install -p -m 0744 -D extras/command-completion/gluster.bash \
%{buildroot}%{_sysconfdir}/bash_completion.d/gluster
-%endif
%clean
rm -rf %{buildroot}
@@ -1098,12 +1094,10 @@ exit 0
%dir %{_includedir}/glusterfs/api
%{_includedir}/glusterfs/api/*
-%if ( 0%{!?_without_server:1} )
%files cli
%{_sbindir}/gluster
%{_mandir}/man8/gluster.8*
%{_sysconfdir}/bash_completion.d/gluster
-%endif
%files cloudsync-plugins
%dir %{_libdir}/glusterfs/%{version}%{?prereltag}/cloudsync-plugins
@@ -1414,6 +1408,9 @@ exit 0
%endif
%changelog
+* Fri Jun 14 2019 Niels de Vos <ndevos@redhat.com>
+- always build glusterfs-cli to allow monitoring/managing from clients
+
* Wed Mar 6 2019 Kaleb S. KEITHLEY <kkeithle@redhat.com>
- remove unneeded ldconfig in scriptlets
- reported by Igor Gnatenko in Fedora