On Fri, Jan 5, 2018 at 10:56 AM, Paul Howarth <paul@xxxxxxxxxxxx> wrote: > On 2018-01-02 14:07, Sérgio Basto wrote: >> >> On Tue, 2018-01-02 at 06:25 -0700, Brad Bell wrote: >>> >>> No such file or directory: '/usr/bin/yum-builddep' >> >> >> rpm -qf /usr/bin/yum-builddep >> yum-utils-1.1.31-512.fc26.noarch >> >> seems you need yum-utils or in /etc/mock/site-defaults.cfg use : >> >> config_opts['package_manager'] = 'dnf' > > > As an aside, in Fedora 27 /usr/bin/yum-builddep is provided by dnf-utils and > is of course based on dnf, so you get dnf resolving build dependencies even > if you have config_opts['package_manager'] = 'yum'. > It's not supposed to use yum-builddep when you set yum in Fedora 27, it's supposed to use yum-builddep-deprecated. I fixed that a while back: https://github.com/rpm-software-management/mock/commit/39e795a096315b653184ec0d43f3ebf3c22f2bea But, yum-utils has to be installed for that to work. -- 真実はいつも一つ!/ Always, there's only one truth! _______________________________________________ packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx