How should mock behave when DNF is not available?
Josh Boyer
jwboyer at fedoraproject.org
Wed Feb 11 13:59:23 UTC 2015
On Wed, Feb 11, 2015 at 8:51 AM, Miroslav Suchy <msuchy at redhat.com> wrote:
> I am working on switching rawhide targets to DNF. However on EL* is DNF not
> available.
Mock isn't available on EL* either. It's in EPEL.
> Therefore you will not be able to build rawhide packages on EL7- using
> standard mock configuration.
Can DNF be packaged for EL7- in EPEL and used that way?
> I see several options to offer to user:
>
> 1) Discourage user from doing that by providing no hints how to workaround
> it.
>
> 2) Tell him that DNF is not available and he must run mock with "--yum"
> option. And warn him that he may get different depsolving.
>
> 3) Tell him that DNF is not available and fall back automatically to yum and
> warn him that he may get different depsolving.
>
> Unless somebody will have better idea I would go with (2).
>
> Ideas? Comments?
If DNF can't be packaged in EPEL, then I would agree option 2 seems to
be the best choice.
josh
More information about the buildsys
mailing list