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>
This commit is contained in:
Kaleb S. KEITHLEY 2015-05-29 13:47:14 -04:00 committed by Kaleb KEITHLEY
parent 894a517a12
commit 7023870b28
2 changed files with 2 additions and 4 deletions

View File

@ -41,6 +41,7 @@ dist-hook: gen-VERSION gen-ChangeLog
-rm -fr $(distdir)/contrib/argp-standalone/autom4te.cache
-rm -fr $(distdir)/contrib/argp-standalone/.deps
-rm -fr $(distdir)/contrib/umountd/.deps
-rm -fr $(distdir)/config.{guess,sub}
.PHONY: gen-VERSION gen-ChangeLog

View File

@ -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} \