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