diff options
author | Per Øyvind Karlsen <proyvind@moondrake.org> | 2016-05-30 20:11:53 +0200 |
---|---|---|
committer | Per Øyvind Karlsen <proyvind@moondrake.org> | 2016-05-30 20:11:53 +0200 |
commit | c379f051d3b45e306f628f0764ab781f20e0f8f4 (patch) | |
tree | 9959a862cfa24ccd2b86ed47889412ab83d861ed /MgaRepo/commands | |
parent | 459ff0c8929e14f9051245dc26ec234667d2ef94 (diff) | |
download | mgarepo-c379f051d3b45e306f628f0764ab781f20e0f8f4.tar mgarepo-c379f051d3b45e306f628f0764ab781f20e0f8f4.tar.gz mgarepo-c379f051d3b45e306f628f0764ab781f20e0f8f4.tar.bz2 mgarepo-c379f051d3b45e306f628f0764ab781f20e0f8f4.tar.xz mgarepo-c379f051d3b45e306f628f0764ab781f20e0f8f4.zip |
add support for optionally installing build depedencies by default
Diffstat (limited to 'MgaRepo/commands')
-rw-r--r-- | MgaRepo/commands/buildrpm.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MgaRepo/commands/buildrpm.py b/MgaRepo/commands/buildrpm.py index 76fa41e..421ece0 100644 --- a/MgaRepo/commands/buildrpm.py +++ b/MgaRepo/commands/buildrpm.py @@ -11,6 +11,7 @@ Builds the binary RPM(s) (.rpm) file(s) of a given package. Options: -bX Build stage option, where X is stage, default is -bb + -I Don't automatically try install missing build dependencies -l Disable rpmlint check of packages built -P USER Define the RPM packager information to USER -q Quiet build output @@ -21,6 +22,7 @@ Options: def parse_options(): parser = OptionParser(HELP) parser.add_option("-b", dest="build_cmd", default="a") + parser.add_option("-I", dest="installdeps", action="store_false", default=True) parser.add_option("-l", dest="rpmlint", action="store_false", default=True) parser.add_option("-P", dest="packager", default="") parser.add_option("-q", "--quiet", dest="verbose", action="store_false", default=True) |