]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- V 0.8,
authorkloczek <kloczek@pld-linux.org>
Mon, 29 Nov 1999 08:07:01 +0000 (08:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- changed --no_urls to --no-urls,
- added -m, --mr-proper (the same as "rpm --clean --rmsource --rmspec --force
  --nodeps").

Changed files:
    builder.sh -> 1.46

builder.sh

index 5645f30151b7ff600059b1636b56fbb431a51c33..bf716b8848aee7db9ac76a104b70638eca3a9635 100644 (file)
@@ -10,7 +10,7 @@
 
 VERSION="\
 Build package utility from PLD CVS repository
-V 0.7 (C) 1999 Tomasz K³oczko".
+V 0.8 (C) 1999 Tomasz K³oczko".
 
 PATH="/bin:/usr/bin:/usr/sbin:/sbin:/usr/X11R6/bin"
 
@@ -47,10 +47,11 @@ usage()
     if [ -n "$DEBUG" ]; then set -xv; fi
     echo "\
 Usage: builder [-D] [--debug] [-V] [--version] [-a] [--as_anon] [-b] [-ba]
-       [--build] [-bb] [--build-binary] [-bs] [--build-source] [-d <cvsroot>]
-       [--cvsroot <cvsroot>] [-g] [--get] [-h] [--help] [-l <logfile>]
-       [--logtofile <logfile>] [-q] [--quiet] [-r <cvstag>]
-       [--cvstag <cvstag>] [-v] [--verbose] <package>.spec
+       [--build] [-bb] [--build-binary] [-bs] [--build-source]
+       [-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
 
        -D, --debug     - enable script debugging mode,
        -V, --version   - output builder version
@@ -72,10 +73,12 @@ Usage: builder [-D] [--debug] [-V] [--version] [-a] [--as_anon] [-b] [-ba]
                          CVS repo or HTTP/FTP,
        -h, --help      - this message,
        -l, --logtofile - log all to file,
+       -m, --mr-proper - only remove all files relayted to spec file and
+                         all work resources,
        -q, --quiet     - be quiet,
        -r, --cvstag    - build package using resources from specified CVS
                          tag,
-       -u, --no_urls   - try to get sources only from CVS repo,
+       -u, --no-urls   - try to get sources only from CVS repo,
        -v, --verbose   - be verbose,
 
 "
@@ -275,13 +278,15 @@ while test $# -gt 0 ; do
            COMMAND="usage"; shift ;;
        -l | --logtofile )
            shift; LOGFILE="${1}"; shift ;;
+       -m | --mr-proper )
+           COMMAND="mr-proper"; shift ;;
        -q | --quiet )
            QUIET="--quiet"; shift ;;
        -r | --cvstag )
            shift; CVSTAG="${1}"; shift ;;
        -v | --verbose )
            BE_VERBOSE="1"; shift ;;
-       -u | --no_urls )
+       -u | --no-urls )
            NOURLS="yes"; shift ;;
        * )
            SPECFILE="${1}"; shift ;;
@@ -312,6 +317,9 @@ case "$COMMAND" in
            Exit_error err_no_spec_in_cmdl;
        fi
        ;;
+    "mr-proper" )
+       rpm --clean --rmsource --rmspec --force --nodeps $SPECFILE
+       ;;
     "usage" )
        usage;;
     "version" )
This page took 0.058546 seconds and 4 git commands to generate.