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