From 8fc9a6a10d6ac78abfdff3dc0c85da1a8c233390 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Sat, 22 Jan 2011 07:16:44 -0800 Subject: Revert "Make sure we have an srpm when doing a mockbuild (#665555)" This reverts commit e50d2677e6d9ab661b791097dde3086ecf21c16f. Better to just download sources here, not make the srpm. --- src/fedpkg.bash | 3 --- src/fedpkg.py | 4 ---- 2 files changed, 7 deletions(-) diff --git a/src/fedpkg.bash b/src/fedpkg.bash index 236cfb9..117bd23 100644 --- a/src/fedpkg.bash +++ b/src/fedpkg.bash @@ -140,9 +140,6 @@ _fedpkg() options="--md5" options_arch="--arch" ;; - mockbuild) - options="--md5" - ;; patch) options="--rediff" options_string="--suffix" diff --git a/src/fedpkg.py b/src/fedpkg.py index 4c73351..89e3ce5 100755 --- a/src/fedpkg.py +++ b/src/fedpkg.py @@ -579,7 +579,6 @@ def mockbuild(args): # Pick up any mockargs from the env mockargs = [] try: - srpm(args) mockargs = os.environ['MOCKARGS'].split() except KeyError: # there were no args @@ -1067,9 +1066,6 @@ packages will be built sequentially. # Build in mock parser_mockbuild = subparsers.add_parser('mockbuild', help = 'Local test build using mock') - # optionally define old style hashsums - parser_mockbuild.add_argument('--md5', action = 'store_true', - help = 'Use md5 checksums (for older rpm hosts)') parser_mockbuild.set_defaults(command = mockbuild) # See what's different -- cgit