3 # These are the packages we don't want to build yet:
4 nobuild=$(grep -v '^#' IGNORE)
8 # If any extra SRPMS need to be considered, list them here. Otherwise
13 if ! echo "$nobuild" | grep -sq "^$dir\$"; then
14 if [ -d $dir -a -f $dir/*.spec ]; then
15 if ! rpmbuild -bs --define "_sourcedir $(pwd)/$dir" --define "_srcrpmdir $(pwd)/$dir" $dir/*.spec; then
16 echo "Failed to create a source RPM in directory $dir."
17 echo "If you want to ignore this directory, you should add"
18 echo "it to the 'nobuild' list in this script."
21 srpms="$srpms $(pwd)/$dir/*.src.rpm"
26 smock/smock.pl --arch=i386 --arch=x86_64 --distro=fedora-10 $srpms