|
|
887953 |
From f1d10db3bf315bfc9640a532aa39b9248d55e9c6 Mon Sep 17 00:00:00 2001
|
|
|
887953 |
From: Kaleb S KEITHLEY <kkeithle@redhat.com>
|
|
|
887953 |
Date: Thu, 13 Dec 2018 11:24:05 +0530
|
|
|
887953 |
Subject: [PATCH 463/493] build: glusterfs.spec(.in) firewalld file doesn't use
|
|
|
887953 |
%{_prefix}
|
|
|
887953 |
|
|
|
887953 |
.../firewalld/services/glusterfs.xml in %server files section
|
|
|
887953 |
does not use %{_prefix}
|
|
|
887953 |
|
|
|
887953 |
Other firewalld files, e.g., in the firewalld.src.rpm file use
|
|
|
887953 |
%{_prefix}
|
|
|
887953 |
|
|
|
887953 |
N.B. the other 'hardcoded' path, "/sbin/mount.glusterfs" in the
|
|
|
887953 |
%files fuse section must remain as is, there is no macro for
|
|
|
887953 |
mount utilities to use as there is for, e.g., the %{_sbindir}
|
|
|
887953 |
macro for /usr/sbin. This doesn't matter for either RHEL6, where
|
|
|
887953 |
/sbin and /usr/sbin are distinct directories, or for Fedora and
|
|
|
887953 |
RHEL7, where /sbin is a symlink to /usr/sbin. E.g. see the nfs-
|
|
|
887953 |
utils.src.rpm where /sbin/mount.nfs is also 'hardcoded'.
|
|
|
887953 |
|
|
|
887953 |
mainline:
|
|
|
887953 |
> Change-Id: I902f47e3c589526c774d0aceb6fc2815abf86b01
|
|
|
887953 |
> BUG: 1350793
|
|
|
887953 |
> Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com>
|
|
|
887953 |
> Reviewed-on: http://review.gluster.org/14823
|
|
|
887953 |
> Smoke: Gluster Build System <jenkins@build.gluster.org>
|
|
|
887953 |
> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
|
|
|
887953 |
> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
|
|
|
887953 |
> Reviewed-by: Milind Changire <mchangir@redhat.com>
|
|
|
887953 |
> Reviewed-by: Niels de Vos <ndevos@redhat.com>
|
|
|
887953 |
|
|
|
887953 |
Change-Id: I902f47e3c589526c774d0aceb6fc2815abf86b01
|
|
|
887953 |
BUG: 1350745
|
|
|
887953 |
Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com>
|
|
|
887953 |
Reviewed-on: https://code.engineering.redhat.com/gerrit/158502
|
|
|
887953 |
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
|
887953 |
Tested-by: Milind Changire <mchangir@redhat.com>
|
|
|
887953 |
Reviewed-by: Sunil Kumar Heggodu Gopala Acharya <sheggodu@redhat.com>
|
|
|
887953 |
---
|
|
|
887953 |
glusterfs.spec.in | 2 +-
|
|
|
887953 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
887953 |
|
|
|
887953 |
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
|
|
|
887953 |
index b6b7630..2745b50 100644
|
|
|
887953 |
--- a/glusterfs.spec.in
|
|
|
887953 |
+++ b/glusterfs.spec.in
|
|
|
887953 |
@@ -1168,7 +1168,7 @@ exit 0
|
|
|
887953 |
%exclude %{_tmpfilesdir}/gluster.conf
|
|
|
887953 |
%endif
|
|
|
887953 |
%if ( 0%{?_with_firewalld:1} )
|
|
|
887953 |
-%exclude /usr/lib/firewalld/services/glusterfs.xml
|
|
|
887953 |
+%exclude %{_prefix}/lib/firewalld/services/glusterfs.xml
|
|
|
887953 |
%endif
|
|
|
887953 |
%endif
|
|
|
887953 |
%doc ChangeLog COPYING-GPLV2 COPYING-LGPLV3 INSTALL README.md THANKS
|
|
|
887953 |
--
|
|
|
887953 |
1.8.3.1
|
|
|
887953 |
|