summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2015-05-29 13:47:14 -0400
committerKaleb KEITHLEY <kkeithle@redhat.com>2015-05-31 15:14:59 -0700
commit7023870b28b1eb87fb6eca2904c72e91fdcaf625 (patch)
tree73842ab99a9bff5d106b3996b7d1ac44feb1628c /glusterfs.spec.in
parent894a517a12411c4dfbdeda6b9e90df26f5855d2e (diff)
build: outdated autotools helper config.* files in dist tarfile
Our jenkins release task clones the source, runs ./autogen.sh (where config.{guess,sub} come from) and ./configure, before running `make dist` to product the release glusterfs-X.Y.Z.tar.gz. The config.{guess,sub} in the tar file come from the archaic autoconf in CentOS 6.3, which is what the glusterfs jenkins is running on. We should not be shipping the (arbitrary, old) config.{guess,sub} files from our jenkins machine. Change-Id: Ib7643ae2e54d0e25c95f4e93e5dffb22cbe11523 BUG: 1223937 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/11009 Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in5
1 files changed, 1 insertions, 4 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 1e5a8125ad4..36add2caccd 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -571,10 +571,7 @@ This package provides the translators needed on any GlusterFS client.
%setup -q -n %{name}-%{version}%{?prereltag}
%build
-# For whatever reason, install-sh is sometimes missing. When this gets fixed,
-# there is no need to run ./autogen or have a BuildRequires for automake.
-[ -e 'install-sh' -o -e 'install.sh' ] || ./autogen.sh
-%configure \
+./autogen.sh && %configure \
%{?_with_tmpfilesdir} \
%{?_without_rdma} \
%{?_without_epoll} \