|
|
233933 |
From aa73240892a7072be68772370fd95173e6e77d10 Mon Sep 17 00:00:00 2001
|
|
|
233933 |
From: Atin Mukherjee <amukherj@redhat.com>
|
|
|
233933 |
Date: Mon, 21 Mar 2016 17:07:00 +0530
|
|
|
233933 |
Subject: [PATCH 04/52] glusterd/spec: fixing autogen issue
|
|
|
233933 |
|
|
|
233933 |
Backport of https://code.engineering.redhat.com/gerrit/#/c/59463/
|
|
|
233933 |
|
|
|
233933 |
Because of the incorrect build section, autogen.sh wasn't re-run during the rpm
|
|
|
233933 |
build process. The `extras/Makefile.in` was not regenerated with the changes
|
|
|
233933 |
made to `extras/Makefile.am` in the firewalld patch. This meant that
|
|
|
233933 |
`extras/Makefile` was generated without the firewalld changes. So the firewalld
|
|
|
233933 |
config wasn't installed during `make install` and rpmbuild later failed when it
|
|
|
233933 |
failed to find `/usr/lib/firewalld/glusterfs.xml`
|
|
|
233933 |
|
|
|
233933 |
Label: DOWNSTREAM ONLY
|
|
|
233933 |
|
|
|
233933 |
>Reviewed-on: https://code.engineering.redhat.com/gerrit/59463
|
|
|
233933 |
|
|
|
233933 |
Change-Id: I498bcceeacbd839640282eb6467c9f1464505697
|
|
|
233933 |
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
|
|
|
233933 |
Reviewed-on: https://code.engineering.redhat.com/gerrit/70343
|
|
|
233933 |
Reviewed-by: Milind Changire <mchangir@redhat.com>
|
|
|
233933 |
---
|
|
|
233933 |
glusterfs.spec.in | 7 +------
|
|
|
233933 |
1 file changed, 1 insertion(+), 6 deletions(-)
|
|
|
233933 |
|
|
|
233933 |
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
|
|
|
233933 |
index c655f16..f5c1f79 100644
|
|
|
233933 |
--- a/glusterfs.spec.in
|
|
|
233933 |
+++ b/glusterfs.spec.in
|
|
|
233933 |
@@ -700,12 +700,7 @@ done
|
|
|
233933 |
|
|
|
233933 |
%build
|
|
|
233933 |
|
|
|
233933 |
-# RHEL6 and earlier need to manually replace config.guess and config.sub
|
|
|
233933 |
-%if ( 0%{?rhel} && 0%{?rhel} <= 6 )
|
|
|
233933 |
-./autogen.sh
|
|
|
233933 |
-%endif
|
|
|
233933 |
-
|
|
|
233933 |
-%configure \
|
|
|
233933 |
+./autogen.sh && %configure \
|
|
|
233933 |
%{?_with_asan} \
|
|
|
233933 |
%{?_with_cmocka} \
|
|
|
233933 |
%{?_with_debug} \
|
|
|
233933 |
--
|
|
|
233933 |
1.8.3.1
|
|
|
233933 |
|