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