aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/commands/buildrpm.py
diff options
context:
space:
mode:
Diffstat (limited to 'MgaRepo/commands/buildrpm.py')
-rw-r--r--MgaRepo/commands/buildrpm.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/MgaRepo/commands/buildrpm.py b/MgaRepo/commands/buildrpm.py
index 3f9c9bb..b58ac65 100644
--- a/MgaRepo/commands/buildrpm.py
+++ b/MgaRepo/commands/buildrpm.py
@@ -8,6 +8,9 @@ HELP = """\
Usage: mgarepo buildrpm [OPTIONS]
Builds the binary RPM(s) (.rpm) file(s) of a given package.
+
+Options:
+ -l Disable rpmlint check of packages built
"""
def parse_options():
@@ -15,6 +18,7 @@ def parse_options():
parser.add_option("-b", dest="build_cmd", default="a")
parser.add_option("-P", dest="packager", default="")
parser.add_option("-v", "--verbose", dest="verbose", action="store_true", default=False)
+ parser.add_option("-l", dest="rpmlint", action="store_false", default=True)
opts, args = parser.parse_args()
return opts