|
|
d1681e |
From 01b371af8dc6f95c00facd5215ab4c939a86f1db Mon Sep 17 00:00:00 2001
|
|
|
d1681e |
From: Milind Changire <mchangir@redhat.com>
|
|
|
d1681e |
Date: Mon, 23 Apr 2018 13:16:30 +0530
|
|
|
d1681e |
Subject: [PATCH 245/260] build: make RHGS version available for server
|
|
|
d1681e |
|
|
|
d1681e |
Make /usr/share/glusterfs/release available for gluserfs-server package.
|
|
|
d1681e |
This file contains the RHGS release number for the release.
|
|
|
d1681e |
|
|
|
d1681e |
Label: DOWNSTREAM ONLY
|
|
|
d1681e |
|
|
|
d1681e |
Change-Id: I7485f77cfb8ca7f0f8363a20124900ae9ae8a528
|
|
|
d1681e |
BUG: 1570514
|
|
|
d1681e |
Signed-off-by: Milind Changire <mchangir@redhat.com>
|
|
|
d1681e |
Reviewed-on: https://code.engineering.redhat.com/gerrit/137139
|
|
|
d1681e |
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
|
d1681e |
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
|
|
|
d1681e |
---
|
|
|
d1681e |
glusterfs.spec.in | 8 ++++++++
|
|
|
d1681e |
1 file changed, 8 insertions(+)
|
|
|
d1681e |
|
|
|
d1681e |
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
|
|
|
d1681e |
index 64e7e29..36b465a 100644
|
|
|
d1681e |
--- a/glusterfs.spec.in
|
|
|
d1681e |
+++ b/glusterfs.spec.in
|
|
|
d1681e |
@@ -865,6 +865,10 @@ find ./tests ./run-tests.sh -type f | cpio -pd %{buildroot}%{_prefix}/share/glus
|
|
|
d1681e |
install -p -m 0744 -D extras/command-completion/gluster.bash \
|
|
|
d1681e |
%{buildroot}%{_sysconfdir}/bash_completion.d/gluster
|
|
|
d1681e |
|
|
|
d1681e |
+%if ( 0%{?_build_server} )
|
|
|
d1681e |
+echo "RHGS 3.4.0" > %{buildroot}%{_datadir}/glusterfs/release
|
|
|
d1681e |
+%endif
|
|
|
d1681e |
+
|
|
|
d1681e |
%clean
|
|
|
d1681e |
rm -rf %{buildroot}
|
|
|
d1681e |
|
|
|
d1681e |
@@ -1566,6 +1570,7 @@ exit 0
|
|
|
d1681e |
|
|
|
d1681e |
# Extra utility script
|
|
|
d1681e |
%dir %{_libexecdir}/glusterfs
|
|
|
d1681e |
+ %{_datadir}/glusterfs/release
|
|
|
d1681e |
%dir %{_datadir}/glusterfs/scripts
|
|
|
d1681e |
%{_datadir}/glusterfs/scripts/stop-all-gluster-processes.sh
|
|
|
d1681e |
%if ( 0%{?_with_systemd:1} )
|
|
|
d1681e |
@@ -2155,6 +2160,9 @@ fi
|
|
|
d1681e |
%endif
|
|
|
d1681e |
|
|
|
d1681e |
%changelog
|
|
|
d1681e |
+* Mon Apr 23 2018 Milind Changire <mchangir@redhat.com>
|
|
|
d1681e |
+- make RHGS release number available in /usr/share/glusterfs/release (#1570514)
|
|
|
d1681e |
+
|
|
|
d1681e |
* Wed Apr 18 2018 Atin Mukherjee <amukherj@redhat.com>
|
|
|
d1681e |
- Revert SELinux hooks (#1565962)
|
|
|
d1681e |
|
|
|
d1681e |
--
|
|
|
d1681e |
1.8.3.1
|
|
|
d1681e |
|