[yum-commits] yum-builddep.py

James Antill james at osuosl.org
Wed Mar 30 16:50:56 UTC 2011


 yum-builddep.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 2df9138e25220dd4b45e0c7849ceb5da393458f0
Author: James Antill <james at and.org>
Date:   Wed Mar 30 12:50:50 2011 -0400

    Also obey .conf.gpgcheck in builddep.

diff --git a/yum-builddep.py b/yum-builddep.py
index 7c9e82d..d13c90e 100755
--- a/yum-builddep.py
+++ b/yum-builddep.py
@@ -73,7 +73,8 @@ class YumBuildDep(YumUtilBase):
 
         # turn of our local gpg checking for opening the srpm if it is turned
         # off for repos :)
-        if opts.nogpgcheck or not self.conf.localpkg_gpgcheck:
+        if (opts.nogpgcheck or
+            not self.conf.localpkg_gpgcheck or not self.conf.gpgcheck):
             self.ts.pushVSFlags((rpm._RPMVSF_NOSIGNATURES|rpm._RPMVSF_NODIGESTS))
 
         # Check if there is anything to do.


More information about the Yum-commits mailing list