summaryrefslogtreecommitdiffstats
path: root/src/fedpkg.bash
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2011-01-21 14:22:04 -0800
committerJesse Keating <jkeating@redhat.com>2011-01-21 14:22:04 -0800
commite50d2677e6d9ab661b791097dde3086ecf21c16f (patch)
tree69940251754daafcc40a7443a7761849c5777117 /src/fedpkg.bash
parent4659f541493f1d4275868856dc198fedf5f296e5 (diff)
downloadfedora-packager-e50d2677e6d9ab661b791097dde3086ecf21c16f.tar.gz
fedora-packager-e50d2677e6d9ab661b791097dde3086ecf21c16f.tar.xz
fedora-packager-e50d2677e6d9ab661b791097dde3086ecf21c16f.zip
Make sure we have an srpm when doing a mockbuild (#665555)
This required a new option to mockbuild, md5. This is because srpm needs this argument to function correctly.
Diffstat (limited to 'src/fedpkg.bash')
-rw-r--r--src/fedpkg.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fedpkg.bash b/src/fedpkg.bash
index 117bd23..236cfb9 100644
--- a/src/fedpkg.bash
+++ b/src/fedpkg.bash
@@ -140,6 +140,9 @@ _fedpkg()
options="--md5"
options_arch="--arch"
;;
+ mockbuild)
+ options="--md5"
+ ;;
patch)
options="--rediff"
options_string="--suffix"