diff options
author | Neal Gompa <ngompa13@gmail.com> | 2016-06-01 23:01:31 -0400 |
---|---|---|
committer | Neal Gompa <ngompa13@gmail.com> | 2016-06-01 23:01:31 -0400 |
commit | c7083098f0ba2700ed7b2c0c0abe71f2de020123 (patch) | |
tree | 295c863549ff2006d4efa5fc9ba93854462ec54a /MgaRepo/commands | |
parent | 06a32f511caa32ed72e999aae0c0d09afb59d493 (diff) | |
download | mgarepo-c7083098f0ba2700ed7b2c0c0abe71f2de020123.tar mgarepo-c7083098f0ba2700ed7b2c0c0abe71f2de020123.tar.gz mgarepo-c7083098f0ba2700ed7b2c0c0abe71f2de020123.tar.bz2 mgarepo-c7083098f0ba2700ed7b2c0c0abe71f2de020123.tar.xz mgarepo-c7083098f0ba2700ed7b2c0c0abe71f2de020123.zip |
Support using DNF instead of urpmi for buildrpm
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 421ece0..79653e8 100644 --- a/MgaRepo/commands/buildrpm.py +++ b/MgaRepo/commands/buildrpm.py @@ -14,6 +14,7 @@ Options: -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 + -d Use DNF -q Quiet build output -s Jump to specific build stage (--short-circuit) @@ -25,6 +26,7 @@ def parse_options(): 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("-d", "--dnf", dest="use_dnf", action="store_true", default=False) parser.add_option("-q", "--quiet", dest="verbose", action="store_false", default=True) parser.add_option("-s", "--short-circuit", dest="short_circuit", action="store_true", default=False) opts, args = parser.parse_args() |