CVSROOT=${CVSROOT:-""}
LOGFILE=""
CHMOD="yes"
+RPMOPTS=""
PATCHES=""
SOURCES=""
[-d <cvsroot>] [--cvsroot <cvsroot>] [-g] [--get] [-h] [--help]
[-l <logfile>] [-m] [--mr-proper] [--logtofile <logfile>] [-q] [--quiet]
[-r <cvstag>] [--cvstag <cvstag>] [-u] [--no-urls] [-v] [--verbose]
- <package>.spec
+ [--opts <rpm opts>] <package>.spec
-D, --debug - enable script debugging mode,
-V, --version - output builder version
all work resources,
-nc, --no-cvs - don't download from CVS, if source URL is given,
-nu, --no-urls - don't try to download from FTP/HTTP location,
+ --opts - additional options for rpm
-q, --quiet - be quiet,
-r, --cvstag - build package using resources from specified CVS
tag,
build-source )
BUILD_SWITCH="-bs --nodeps" ;;
esac
- nice -n ${DEF_NICE_LEVEL} rpm $BUILD_SWITCH -v $QUIET $CLEAN $SPECFILE
+ nice -n ${DEF_NICE_LEVEL} rpm $BUILD_SWITCH -v $QUIET $CLEAN $RPMOPTS $SPECFILE
if [ "$?" -ne "0" ]; then
Exit_error err_build_fail;
NOCVS="yes"; shift ;;
-nu | --no-urls )
NOURLS="yes"; shift ;;
+ --opts )
+ shift; RPMOPTS="${1}"; shift ;;
-q | --quiet )
QUIET="--quiet"; shift ;;
-r | --cvstag )