Re: Mock, Rawhide and DNF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Clark Williams wrote:
> If the above are correct and the only issue here is that we have
> different depsolving with yum versus dnf, let's detect that we're
> building a Fedora package on EPEL and print a warning to that effect. I
> don't think it does us any good to ship a configuration that won't work
> (i.e. setting config_opts['package_manager'] = 'dnf' on an EPEL host).
> It's either that or fail the build immediately and I'm more in favor of
> printing a warning and continuing.

Maybe the code should just do something like:
if config_opts['package_manager'] == 'dnf' and not have_dnf:
  warning('dnf not found, falling back to yum')
  warning('depsolving results may differ')
  config_opts['package_manager'] = 'yum'
?

        Kevin Kofler

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux