From 6ad0372421c055439ce72b3d21eaf6608e692fdc Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Tue, 2 Jun 2015 09:55:46 -0400 Subject: [PATCH] create a list of valid DIST targets Signed-off-by: Alfredo Deza --- ceph-deploy/build/build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ceph-deploy/build/build b/ceph-deploy/build/build index ac953ad2..d95fb573 100644 --- a/ceph-deploy/build/build +++ b/ceph-deploy/build/build @@ -26,6 +26,11 @@ echo " WS=$WORKSPACE" echo " PWD=$(pwd)" echo " BRANCH=$BRANCH" +# FIXME A very naive way to just list the RPM $DIST that we currently support. +# We should be a bit more lenient to allow any rhel/centos/sles/suse +rpm_dists="rhel centos6.5 centos7 rhel6.5 rhel7 centos sles11sp2 opensuse12.2" +deb_dists="precise wheezy squeeze trusty" + case $HOST in gitbuilder-*-rpm*) rm -rf rpm-repo dist/* build/rpmbuild -- 2.39.5