Hi,
Pavel is on holidays and we needed new release of Mock because of
    https://pagure.io/fedora-infrastructure/issue/9138
so I stepped into Pavel shoes and done the release.
From the release notes:
  https://github.com/rpm-software-management/mock/wiki/Release-Notes-2.4

Mock 2.4 features:

    The file /dev/btrfs-control is now available in chroot if host supports it. 
This allows to create btrfs-based image
builds. [fedora-infra#9138].

    Copy source CA certificates -
    Prior to this change, we would only copy the "extracted" SSL CA 
certificates into the chroot. If anything ran
"update-ca-trust" inside the chroot, this would delete our custom SSL 
certificates from the "extracted" directory. For
example, Fedora and RHEL's main "ca-certificates" package always does this in 
%post, and any custom third-party package
could do this as well. Copy the entire parent directory so that "sources" and 
"extracted" are both present in the
chroot. With this change, "update-ca-trust" does not wipe out the CA 
certificates from the chroot. [#588]

    Add module_setup_commands configuration option, The new config option 
obsoletes module_enable and module_install
configuration options (but those are still supported), and allows users to also 
configure "disable", "remove" and other
commands.

    Each command can be specified multiple times, and mock respects the order 
of the commands when executing them.

    Artificial example: (1) Disable any potentially enabled postgresql module 
stream, (2) enable specific postgresql and
ruby module streams, (3) install the development nodejs profile and (4) disable 
it immediately.

    config_opts['module_setup_commands'] = [
        ('disable', 'postgresql'),
        ('enable',  'postgresql:12, ruby:2.6'),
        ('install', 'nodejs:13/development'),
        ('disable', 'nodejs'),
        ]

Mock 2.4 bugfixes:

    .rpmmacros is now created in "rootdir" instead of "basedir" [rhbz#1848201]

Following contributors contributed to this release:

    Ken Dreyer
    Neal Gompa
    Pavel Raiskup

Thank you.

-- 
Miroslav Suchy, RHCA
Red Hat, Associate Manager ABRT/Copr, #brno, #fedora-buildsys
_______________________________________________
buildsys mailing list -- buildsys@lists.fedoraproject.org
To unsubscribe send an email to buildsys-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/buildsys@lists.fedoraproject.org

Reply via email to