Hide Forgot
Created attachment 503487 [details] The attached patch add support for passing options to yum-buildep via mock cfg config_opts['yum_builddep_opts'] option. Description of problem: mock -r whatever-mock.cfg --installdeps /path/to/whatever.src.rpm will result in the following error: ERROR: Command failed: # /usr/bin/yum-builddep --installroot /var/lib/mock/config_opts['root']/root/ /path/to/whatever.src.rpm warning: rpmts_HdrFromFdno: Header V4 RSA/SHA1 Signature, key ID e0da8890: NOKEY Error: Could not open /path/to/whatever.src.rpm . Try running yum-builddep with the --nogpgcheck option. There was a problem getting the build deps, exiting: Could not open local rpm file: /path/to/whatever.src.rpm: RPM Error opening Package Version-Release number of selected component (if applicable): 1.1.10 How reproducible: See description. Steps to Reproduce: See description. Actual results: See description of the error. Expected results: Should be like what mock 1.1.6 does but it isn't. Additional info: I thought yum-builddep should honour about the config_opts['yum.conf'] which has nogpgcheck in it but it isn't... hence the attached patch to add support to pass options to yum-builddep for the maintainer/author to review. Thanks. Kindest regards, Giam Teck Choon
Queued for 1.1.13 release
Forgot to add this bz to the update. Closing.