3 # These are the packages we don't want to build yet:
4 nobuild=$(grep -v '^#' IGNORE)
6 # Keep going (not safe). Comment out for a safe build.
11 # If any extra SRPMS need to be considered, list them here. Otherwise
16 if ! echo "$nobuild" | grep -sq "^$dir\$"; then
17 if [ -d $dir -a -f $dir/*.spec ]; then
18 if ! rpmbuild -bs --define "_sourcedir $(pwd)/$dir" --define "_srcrpmdir $(pwd)/$dir" $dir/*.spec; then
19 echo "Failed to create a source RPM in directory $dir."
20 echo "If you want to ignore this directory, you should add"
21 echo "it to the IGNORE file in the top level directory."
24 srpms="$srpms $(pwd)/$dir/*.src.rpm"
32 --distro=fedora-rawhide \