aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/commands
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <proyvind@moondrake.org>2016-05-30 16:07:53 +0200
committerPer Øyvind Karlsen <proyvind@moondrake.org>2016-05-30 16:07:53 +0200
commit607d2b6f22951380f4c718de8cf4c3044fbc378f (patch)
tree2aa0ba1cb2d04ad439565f9fbca703f4a1287629 /MgaRepo/commands
parentcaf97c8e8cd2b6d8a7819848888556064b403c14 (diff)
downloadmgarepo-607d2b6f22951380f4c718de8cf4c3044fbc378f.tar
mgarepo-607d2b6f22951380f4c718de8cf4c3044fbc378f.tar.gz
mgarepo-607d2b6f22951380f4c718de8cf4c3044fbc378f.tar.bz2
mgarepo-607d2b6f22951380f4c718de8cf4c3044fbc378f.tar.xz
mgarepo-607d2b6f22951380f4c718de8cf4c3044fbc378f.zip
clean out some old leftovers
Diffstat (limited to 'MgaRepo/commands')
-rw-r--r--MgaRepo/commands/buildrpm.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/MgaRepo/commands/buildrpm.py b/MgaRepo/commands/buildrpm.py
index 8bb681d..3f9c9bb 100644
--- a/MgaRepo/commands/buildrpm.py
+++ b/MgaRepo/commands/buildrpm.py
@@ -1,18 +1,11 @@
#!/usr/bin/python
#
-from MgaRepo import Error, config
-from MgaRepo.command import *
-from MgaRepo.layout import package_url
+from MgaRepo.command import do_command
from MgaRepo.rpmutil import build_rpm
-import tempfile
-import shutil
from optparse import *
-import glob
-import sys
-import os
HELP = """\
-Usage: repsys buildrpm [OPTIONS]
+Usage: mgarepo buildrpm [OPTIONS]
Builds the binary RPM(s) (.rpm) file(s) of a given package.
"""