On Friday, February 7, 2020 7:57:24 PM CET Miro Hrončok wrote:
> On 07. 02. 20 15:44, Pavel Raiskup wrote:
> > Hey all, I'm pleased to announce that a new major release of mock tool,
> > A 'simple' chroot build environment manager for building RPMs, is out.
> > 
> > There are several major changes, namely `--bootstrap-chroot` enabled by
> > default, default flip from `yum` to `dnf`, simplified mock-core-configs
> > package, fixed regression in 'use_bootstrap_image' option.  And many
> > important bugfixes.  See release notes here:
> > 
> >      https://github.com/rpm-software-management/mock/wiki/Release-Notes-2.0
> 
> Hello. Is there some other way to extend an existing rawhide config than:
> 
>      dnf_conf = "dnf.conf" if "dnf.conf" in config_opts else "yum.conf"
>      config_opts[dnf_conf] += """..."""
> ?

config_opts[f"{config_opts.package_manager}.conf"] += ...

Not sure it is objectively nicer...  Patches are welcome.

Pavel


_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to