aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/commands
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <proyvind@moondrake.org>2016-07-08 14:24:13 +0200
committerPer Øyvind Karlsen <proyvind@moondrake.org>2016-07-08 14:24:13 +0200
commit09539112eb8f1ae5bf8bb9aa12ef505fcb39deae (patch)
tree64d1b1bdd51c173598fd1fa3209021ff11fad7ae /MgaRepo/commands
parente2124bfd93871025b8990474006c31464d1667ee (diff)
downloadmgarepo-09539112eb8f1ae5bf8bb9aa12ef505fcb39deae.tar
mgarepo-09539112eb8f1ae5bf8bb9aa12ef505fcb39deae.tar.gz
mgarepo-09539112eb8f1ae5bf8bb9aa12ef505fcb39deae.tar.bz2
mgarepo-09539112eb8f1ae5bf8bb9aa12ef505fcb39deae.tar.xz
mgarepo-09539112eb8f1ae5bf8bb9aa12ef505fcb39deae.zip
buildrpm: add support for passing arguments directly to rpmbuild
Diffstat (limited to 'MgaRepo/commands')
-rw-r--r--MgaRepo/commands/buildrpm.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/MgaRepo/commands/buildrpm.py b/MgaRepo/commands/buildrpm.py
index 337ae2a..9caec45 100644
--- a/MgaRepo/commands/buildrpm.py
+++ b/MgaRepo/commands/buildrpm.py
@@ -19,6 +19,7 @@ Options:
-s Jump to specific build stage (--short-circuit)
-l Use subversion log to build rpm %changelog
-F Do not use full name & email for packagers in %changelog
+ -- Options and arguments following will be passed to rpmbuild
"""
@@ -35,6 +36,7 @@ def parse_options():
parser.add_option("-F", dest="fullnames", default=True,
action="store_false")
opts, args = parser.parse_args()
+ opts.rpmargs = parser.rargs
return opts
def main():