@ -1,5 +1,7 @@
#!/bin/sh
set -e
PKG=$1
[ -d "$PKG" -o -f "$PKG.spec" ] || fedpkg clone -a $PKG
@ -11,13 +13,21 @@ if [ -n "$2" ]; then
fi
sudo yum-builddep $PKG.spec
ARCH=$(arch)
if [ -d $ARCH ]; then
echo Please remove $ARCH/
exit 1
fedpkg local
TMP=test-tmp
mkdir -p $TMP/
cd $(arch)
cd $ARCH
PKGS=$(rpm -qp *)