build: Add missing rpmbuild/BUILD dir for CentOS 5.x

The rpmbuild/BUILD directory isn't created automatically
by the build system on CentOS 5.x. This 1-line patch
adds its creation to the build process.

BUG: 1071504
Change-Id: I90ad70608776cb491f2ba92fb7d6044cff4defcc
Signed-off-by: Justin Clift <justin@gluster.org>
Reviewed-on: http://review.gluster.org/7175
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
This commit is contained in:
Justin Clift 2014-02-28 15:17:21 +00:00 committed by Anand Avati
parent 2010fb2bc6
commit d11d3f877d

View File

@ -15,6 +15,7 @@ prep:
if [ ! -e $(GFS_TAR) ]; then \
$(MAKE) -C ../.. dist; \
fi
-mkdir -p rpmbuild/BUILD
-mkdir -p rpmbuild/SPECS
-mkdir -p rpmbuild/RPMS
-mkdir -p rpmbuild/SRPMS