|
|
233933 |
From 12ae1a9a62c2c94af44f55b03575ab8806bd22ee Mon Sep 17 00:00:00 2001
|
|
|
233933 |
From: Milind Changire <mchangir@redhat.com>
|
|
|
233933 |
Date: Mon, 23 Apr 2018 13:16:30 +0530
|
|
|
233933 |
Subject: [PATCH 25/52] build: make RHGS version available for server
|
|
|
233933 |
|
|
|
233933 |
Make /usr/share/glusterfs/release available for gluserfs-server package.
|
|
|
233933 |
This file contains the RHGS release number for the release.
|
|
|
233933 |
|
|
|
233933 |
Label: DOWNSTREAM ONLY
|
|
|
233933 |
|
|
|
233933 |
Change-Id: I7485f77cfb8ca7f0f8363a20124900ae9ae8a528
|
|
|
233933 |
Signed-off-by: Milind Changire <mchangir@redhat.com>
|
|
|
233933 |
Reviewed-on: https://code.engineering.redhat.com/gerrit/137139
|
|
|
233933 |
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
|
233933 |
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
|
|
|
233933 |
---
|
|
|
233933 |
glusterfs.spec.in | 5 +++++
|
|
|
233933 |
1 file changed, 5 insertions(+)
|
|
|
233933 |
|
|
|
233933 |
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
|
|
|
233933 |
index db50b8e..bdb47ba 100644
|
|
|
233933 |
--- a/glusterfs.spec.in
|
|
|
233933 |
+++ b/glusterfs.spec.in
|
|
|
233933 |
@@ -862,6 +862,10 @@ install -p -m 0744 -D extras/command-completion/gluster.bash \
|
|
|
233933 |
%{buildroot}%{_sysconfdir}/bash_completion.d/gluster
|
|
|
233933 |
%endif
|
|
|
233933 |
|
|
|
233933 |
+%if ( 0%{!?_without_server:1} )
|
|
|
233933 |
+echo "RHGS 3.5" > %{buildroot}%{_datadir}/glusterfs/release
|
|
|
233933 |
+%endif
|
|
|
233933 |
+
|
|
|
233933 |
%clean
|
|
|
233933 |
rm -rf %{buildroot}
|
|
|
233933 |
|
|
|
233933 |
@@ -1452,6 +1456,7 @@ exit 0
|
|
|
233933 |
|
|
|
233933 |
# Extra utility script
|
|
|
233933 |
%dir %{_libexecdir}/glusterfs
|
|
|
233933 |
+ %{_datadir}/glusterfs/release
|
|
|
233933 |
%dir %{_datadir}/glusterfs/scripts
|
|
|
233933 |
%{_datadir}/glusterfs/scripts/stop-all-gluster-processes.sh
|
|
|
233933 |
%if ( 0%{?_with_systemd:1} )
|
|
|
233933 |
--
|
|
|
233933 |
1.8.3.1
|
|
|
233933 |
|