-echo "There is no build stage for this component."
-echo "All files just need to be installed as is from the codebase."
+pushd yum
+
+EXCLUDE="exclude=kernel* util-vserver* iptables iproute"
+
+# expand list of excludes
+for filein in $(find . -name '*.in') ; do
+ file=$(echo $filein | sed -e "s,\.in$,,")
+ sed -e "s,@EXCLUDE@,$EXCLUDE,g" $filein > $file
+done
+
+# scan fcdistros and catenate all repos in 'stock.repo' so db-config can be distro-independant
+
+for fcdistro in $(ls); do
+ [ -d $fcdistro ] || continue
+ pushd $fcdistro/yum.myplc.d
+ rm -f stock.repo
+ cat *.repo > stock.repo
+ popd
+done
+
+popd