On Wed, 2015-06-03 at 14:19 +0200, Miroslav Suchý wrote:
Dne 2.6.2015 v 06:56 Dave Johansen napsal(a):
>
https://fedoraproject.org/wiki/Mock#Mock_on_EL_6_and_EL_7:_Yum.2C_a
> nd_DNF
>
> I just ran into this issue and I was wondering if it's possible for
> this flag to be add to the default config on RHEL 6/7.
Technically yes.
Politically no.
As stated in refered blog entry:
http://miroslav.suchy.cz/blog/archives/2015/05/20/why_mock_does_not
_work_on_el_6_and_el7_and_how_to_fix_it/index.html
I decided to go with 3rd option. And you must manually acknowledge
that you are creating builds non-standard way and
they may differ from builds made on Fedora.
Except that builds made on Fedora Koji all use yum to populate the mock
chroot, not dnf.
As a result, it is the mock default configuration of using dnf which is
non-standard.
--
Mathieu