12a457
From 5ac2f333c2286732c7afc3228992f5e5eb32cc92 Mon Sep 17 00:00:00 2001
12a457
From: Atin Mukherjee <amukherj@redhat.com>
12a457
Date: Mon, 21 Mar 2016 17:07:00 +0530
12a457
Subject: [PATCH 11/26] 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
BUG: 1319625
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
---
12a457
 glusterfs.spec.in |    4 ----
12a457
 1 files changed, 0 insertions(+), 4 deletions(-)
12a457
12a457
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
12a457
index d1d274b..b675444 100644
12a457
--- a/glusterfs.spec.in
12a457
+++ b/glusterfs.spec.in
12a457
@@ -582,14 +582,10 @@ This package provides the translators needed on any GlusterFS client.
12a457
 %setup -q -n %{name}-%{version}%{?prereltag}
12a457
 
12a457
 %build
12a457
-# For whatever reason, install-sh is sometimes missing. When this gets fixed,
12a457
-# there is no need to run ./autogen or have a BuildRequires for automake.
12a457
-[ -e 'install-sh' -o -e 'install.sh' ] || ./autogen.sh
12a457
 %if ( 0%{?rhel} && 0%{?rhel} < 6 )
12a457
 CFLAGS=-DUSE_INSECURE_OPENSSL
12a457
 export CFLAGS
12a457
 %endif
12a457
-%configure \
12a457
 ./autogen.sh && %configure \
12a457
         %{?_with_cmocka} \
12a457
         %{?_with_tmpfilesdir} \
12a457
-- 
12a457
1.7.1
12a457