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