#!/bin/bash rpmbuild --define "_topdir `pwd`" -bs dirb.spec mv SRPMS/* . rmdir BUILDROOT RPMS SRPMS BUILD