aboutsummaryrefslogtreecommitdiffstats
path: root/MgaRepo/commands/getsrpm.py
diff options
context:
space:
mode:
Diffstat (limited to 'MgaRepo/commands/getsrpm.py')
-rw-r--r--MgaRepo/commands/getsrpm.py10
1 files changed, 1 insertions, 9 deletions
diff --git a/MgaRepo/commands/getsrpm.py b/MgaRepo/commands/getsrpm.py
index 0642c85..1d437d4 100644
--- a/MgaRepo/commands/getsrpm.py
+++ b/MgaRepo/commands/getsrpm.py
@@ -24,7 +24,6 @@ Options:
-p Use files in pristine/ directory
-v VER Use files from the version specified by VER (e.g. 2.2.1-2cl)
-r REV Use files from current directory, in revision REV (e.g. 1001)
- -R REV Use binrepo files from current directory, in revision REV (e.g. 1001)
-t DIR Put SRPM file in directory DIR when done (default is ".")
-P USER Define the RPM packager inforamtion to USER
-s FILE Run script with "FILE TOPDIR SPECFILE" command
@@ -33,8 +32,6 @@ Options:
-T FILE Template to be used to generate the %changelog
-M Do not use the mirror (use the main repository)
-h Show this message
- -S Do not download sources from the binary repository
- --check Check integrity of files fetched from the binary repository
--strict Check if the given revision contains changes in REPPKGURL
Examples:
@@ -42,7 +39,7 @@ Examples:
mgarepo getsrpm -l python
mgarepo getsrpm http://foo.bar/svn/cnc/snapshot/python
mgarepo getsrpm -p http://foo.bar/svn/cnc/releases/8cl/python
- mgarepo getsrpm -r 1001 -R 101 file:///svn/cnc/snapshot/python
+ mgarepo getsrpm -r 1001 file:///svn/cnc/snapshot/python
"""
def mode_callback(option, opt, val, parser, mode):
@@ -79,11 +76,6 @@ def parse_options():
parser.add_option("-n", dest="revname", action="store_true")
parser.add_option("-l", dest="svnlog", action="store_true")
parser.add_option("-T", dest="template", type="string", default=None)
- parser.add_option("-R", dest="binrev", type="string", default=None)
- parser.add_option("-S", dest="use_binrepo", default=True,
- action="store_false")
- parser.add_option("--check", dest="binrepo_check", default=False,
- action="store_true")
parser.add_option("-M", "--no-mirror", action="callback",
callback=disable_mirror)
parser.add_option("--strict", dest="strict", default=False,