From: Thierry Parmentelat Date: Wed, 27 Jan 2010 20:37:13 +0000 (+0000) Subject: fix X-Git-Tag: BootstrapFS-2.0-1~7 X-Git-Url: http://git.onelab.eu/?p=bootstrapfs.git;a=commitdiff_plain;h=ce0e0297a617d28fdee5b5518f2b4f850558a94c fix --- diff --git a/bootstrapfs.spec b/bootstrapfs.spec index 90d07d3..d721ee4 100644 --- a/bootstrapfs.spec +++ b/bootstrapfs.spec @@ -65,19 +65,16 @@ Requires: httpd %build pushd BootstrapFS ./build.sh %{pldistro} -popd BootstrapFS +popd # xxx in a multi-flavour myplc, we should ship for all fcdistros # and let the php scripts do the right thing pushd BootstrapFS/nodeconfig/yum - -# expand list of kexcludes - # scan fcdistros and catenate all repos in 'stock.repo' so db-config can be distro-independant - for fcdistro in $(ls); do [ -d $fcdistro ] || continue + # get kexcludes for that distro KEXCLUDE="exclude=$(../../../build/getkexcludes.sh -f $fcdistro)" pushd $fcdistro/yum.myplc.d echo "* Handling KEXCLUDE in yum repo for $fcdistro ($KEXCLUDE)" @@ -89,7 +86,6 @@ for fcdistro in $(ls); do cat *.repo > stock.repo popd done - popd %install