-bs,
--build-source - get all files from CVS repo or HTTP/FTP and only
pack them into src.rpm,
+ -bp, --build-prep
+ - execute the %prep phase of <package>.spec,
-B, --branch - add branch
-c, --clean - clean all temporarily created files (in BUILD,
SOURCES, SPECS and \$RPM_BUILD_ROOT),
BUILD_SWITCH="-bb" ;;
build-source )
BUILD_SWITCH="-bs --nodeps" ;;
+ build-prep )
+ BUILD_SWITCH="-bp --nodeps" ;;
esac
if [ -n "$LOGFILE" ]; then
LOG=`eval echo $LOGFILE`
COMMAND="build-binary"; shift ;;
-bs | --build-source )
COMMAND="build-source"; shift ;;
+ -bp | --build-prep )
+ COMMAND="build-prep"; shift ;;
-B | --branch )
COMMAND="branch"; shift; TAG="${1}"; shift;;
-c | --clean )
fi
case "$COMMAND" in
- "build" | "build-binary" | "build-source" )
+ "build" | "build-binary" | "build-source" | "build-prep" )
init_builder;
if [ -n "$SPECFILE" ]; then
get_spec;