summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2011-01-22 07:16:44 -0800
committerJesse Keating <jkeating@redhat.com>2011-01-22 07:16:44 -0800
commit8fc9a6a10d6ac78abfdff3dc0c85da1a8c233390 (patch)
treed7658069dfc6b2518e9c57277519135df2517dbb /src
parent7c894bd5084493546872cce636ea38d6af6a0524 (diff)
downloadfedora-packager-8fc9a6a10d6ac78abfdff3dc0c85da1a8c233390.tar.gz
fedora-packager-8fc9a6a10d6ac78abfdff3dc0c85da1a8c233390.tar.xz
fedora-packager-8fc9a6a10d6ac78abfdff3dc0c85da1a8c233390.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/fedpkg.bash3
-rwxr-xr-xsrc/fedpkg.py4
2 files changed, 0 insertions, 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