summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2010-08-20 15:38:40 -0700
committerJesse Keating <jkeating@redhat.com>2010-08-20 15:38:40 -0700
commit6537a641a9deb430073a15d04a0d49bc3f812408 (patch)
treed566ccd43492218fda7ee77973798f27a0128736
parent660c9981ed30b8ccfc8563048fdd6c7927f5aac9 (diff)
downloadfedora-packager-6537a641a9deb430073a15d04a0d49bc3f812408.zip
fedora-packager-6537a641a9deb430073a15d04a0d49bc3f812408.tar.gz
fedora-packager-6537a641a9deb430073a15d04a0d49bc3f812408.tar.xz
Allow passing srpms to the build command
-rwxr-xr-xsrc/fedpkg.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py
index 18d54ab..b60c728 100755
--- a/src/fedpkg.py
+++ b/src/fedpkg.py
@@ -796,6 +796,8 @@ if __name__ == '__main__':
parser_build.add_argument('--scratch', action = 'store_true',
default = False,
help = 'Perform a scratch build')
+ parser_build.add_argument('--srpm',
+ help = 'Build from an srpm. Requires --scratch')
parser_build.set_defaults(command = build)
# chain build