summaryrefslogtreecommitdiffstats
path: root/src/fedpkg.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/fedpkg.py')
-rwxr-xr-xsrc/fedpkg.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fedpkg.py b/src/fedpkg.py
index 89e3ce5..4c73351 100755
--- a/src/fedpkg.py
+++ b/src/fedpkg.py
@@ -579,6 +579,7 @@ 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
@@ -1066,6 +1067,9 @@ 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