--------------------------------------------------------------------------------
Fedora EPEL Update Notification
FEDORA-EPEL-2020-88ef4b4d66
2020-05-05 07:17:03.866774
--------------------------------------------------------------------------------
Name : mock-core-configs
Product : Fedora EPEL 7
Version : 32.6
Release : 1.el7
URL :
https://github.com/rpm-software-management/mock/
Summary : Mock core config files basic chroots
Description :
Config files which allow you to create chroots for:
* Fedora
* Epel
* Mageia
* Custom chroot
* OpenSuse Tumbleweed and Leap
--------------------------------------------------------------------------------
Update Information:
Sumup is in upstream release notes -
https://github.com/rpm-software-
management/mock/wiki/Release-Notes-2.0 -
https://github.com/rpm-software-
management/mock/wiki/Release-Notes-2.1 -
https://github.com/rpm-software-
management/mock/wiki/Release-Notes-2.2 mock-2.2-1 - depend on mock-configs,
not mock-core-configs so users can pick an alternative package with
configuration - bind-mounting stuff below /tmp into bootstrap is fixed with
nspawn (GH#502) - don't do util.getAddtlReqs when 'more_buildreqs' not
specified
- implement doOutChroot() abstraction which runs commands either in bootstrap or
on host, depending on isolation={nspawn|simple} - use doOutChroot() for
package_state plugin (GH#525) - fix for "mock --chroot -- cmd arg1 arg2" use-
case - site-defaults.cfg moved from /etc to %%doc, and the config file is now
provided by mock-core-configs (GH#555) - bootstrap: expand dnf vars in local
repo bind-mounts (rhbz#1815703) - bootstrap: bindmount local metalink/mirrorlist
(rhbz#1816696) - config_opts['isolation'] option invented, replaces
'use_nspawn'
- 'isolation' is now set to 'auto' (means 'nspawn' with fallback
to 'simple',
(GH#337, otaylor(a)fishsoup.net) - Fedora Toolbox && bootstrap - don't re-bind-
mount dev files, and fix installation of filesystem.rpm from bootstrap to normal
chroot (GH#550) - re-define %%python3_pkgversion on el7 (GH#545) - docker use-
case: use getpass.getuser() instead of os.getlogin() (GH#551) - set LANG to
C.UTF-8 by default, even if host has different value (GH#451) - bootstrap: use
configured yum commands (GH#518, paul(a)city-fan.org) - fixup doubled-logs by
predictable bootstrap resultdir (GH#539, rhbz#1805631) - fix --chain
--isolation=simple with external URLs (GH#542) - option --orphanskill fixed for
--isolation=simple --bootstrap-chroot - orphan processes are now also killed
"postyum", right after the installation trasactions are executed to also kill
daemons started from scriptlets (GH#183) - EL7 fix - use 'private' mount option
for <bootsrap_root>/<root>, not 'rprivate' - ceanup rpmdb before
checking
installed packages (fixes builds against target chroots that have different
rpmdb backend, e.g. SQLite on F33+) mock-core-configs-32.6-1 - the site-
defaults.cfg file moved from mock to mock-core-configs - new option
config_opts['isolation'], obsoletes 'use_nspawn' - declare minimal version
of
mock, and set this to v2.2 as we use the new 'isolation' config option now, and
we provide site-defaults.cfg file - specify amazonlinux bootstrap image, to fix
--use-bootstrap-image - allow to replace mock-core-configs by packages that
'Provides: mock-configs' - rpmlint: remove macro in comment mock 2.1 - depend
on mock-core-configs >= 32.4 - new build-time testsuite - accept return code 0
from rpmbuild -br (thrnciar(a)redhat.com) - bootstrap: bind-mount the inner root
mount with rprivate - new ssl_ca_bundle_path option - chain: don't run
buildroot.finalize() for each package - don't fail when /etc/pki certs are not
found (frostyx(a)email.cz) - lvm_root: fix --scrub=all - exclude plugin compiled
stuff packaged in sub-packages - keep trailing newlines in jinja expand - sign-
plugin: use %%(rpms) variable expansion again - bootstrap: bind-mount also
baseurl=/absolute/dir repos - 'dnf.conf' config is now equivalent to
'yum.conf'
- don't emit unneeded warning for missing yum (remi(a)remirepo.net) - allow
--install /usr/bin/time [GH#474] (miroslav(a)suchy.cz) mock 32.4 - disable
package_state plugin for openmandriva 4.0/Cooker - Mageia 6 is EOL - opensuse:
copy ssl ca bundle to correct path ---- mock - log reasons why src.rpm can
not be installed into chroot - nspawn: non-interactive commands in chroot are
executed with --pipe - bind mount local repos to bootstrap chroot
(dturecek(a)redhat.com) - expand the generated config (includes) completely before
passing it to eval() (sergio(a)serjux.com) - do not ignore cleanup_on_success when
post_install is True (logans(a)cottsay.net) - fix fd resource-leak in 'mock
--chain' (jcajka(a)redhat.com) - the --debug-config option only shows the
differences from the mock's default configuration - do not expand jinja for
--debug-config - don't use chroot.pkg_manager in podman case, we need to install
from within the container - --use-bootstrap-image implies --bootstrap-chroot -
drop python2 support from spec file, and code too - ammend man page and state
that --dnf is the default now - rename --{old,new}-chroot to --isolation - turn
ON the jinja rendering a bit earlier - pre-populate loop devices in nspawn
chroot as with --isolation=chroot - deepcopy the plugin_conf options from chroot
to bootstrap_chroot - simplified implementation of include() config option,
accept relative files (jkadlcik(a)redhat.com, sergio(a)serjux.com) - lvm_root: fix
volume removal in --scrub - bootstrap: don't install shadow-utils, and
distribution-gpg-keys - make --sources optional for --buildsrpm mode
(sisi.chlupova(a)gmail.com) - bootstrap: bind-mount normal chroot into bootstrap
chroot recursively - add --scrub=bootstrap parameter (frostyx(a)email.cz) - don't
clean bootstrap with --clean - do not call traceLog decorator when no tracing -
pre-create builddir before changing it's owner, and when we have proper process
privileges - copy /etc/pki/ca-trust/extracted into chroot [GH#397] - change
default of 'package_manager' to 'dnf' - always copy distribution-gpg-keys
into
chroot [GH#308] - support DNF vars added [GH#346] - use jinja macros instead of
python variable expansion - get the text representation of error code -
--scrub=all also does --scrub=bootstrap (jkadlcik(a)redhat.com) - success/fail
aren't created root-owned - compress_logs: setup defaults to 'gzip' - raise
error for --localrepo without --chain - detect that forcearch can not work, and
raise obvious error - drop unnecessary privilege escalations which only make
unnecessary root-owned files - solve yum.conf vs. dnf.conf inconsistency in code
and config - fix mockchain with --bootstrap-chroot (issue/469) - document 'mock
--chain -c' in man page mock-core-configs - solve yum.conf vs. dnf.conf
inconsistency in config and code - add F32 configs and move rawhide to F33 -
make compatibility changes with mock 2.0 - allow host overrides (build-time for
now) - use jinja for gpgkey= in rawhide template - add rhel-{7,8}-s390x configs
- drop rhel-8-ppc64, it was never supported - fix rhel-7 configs - update epel-8
config template to include modular repos as well as missing non-modular source
repo (mmathesi(a)redhat.com) - drop for a long time useless epel-6-ppc64 config -
use template for opensuse, openmandriva, mageia, epel, custom ... - fix
epel-6.tpl config bug - set default podman image for centos-stream - remove
aarch64 string from repo name in template [RHBZ#1780977] - EOL F29 configs - fix
rhelepel configs - allow including configs and templates from relative path
(frostyx(a)email.cz) - configs: drop cost=2000 from fedora-31+-i386 - add missing
metadata_expire=0 to epel configs - change default of 'package_manager' to
'dnf', and use 'dnf.conf' - remove rhelbeta-8-* - fixed mageia, opensuse
and
mandriva configs - fixed fedora 31+ i386 configs
--------------------------------------------------------------------------------
ChangeLog:
* Wed Apr 1 2020 Pavel Raiskup <praiskup(a)redhat.com> 32.6-1
- the site-defaults.cfg file moved from mock to mock-core-configs
- new option config_opts['isolation'], obsoletes 'use_nspawn'
- declare minimal version of mock, and set this to v2.2 as we use the new
'isolation' config option now, and we provide site-defaults.cfg file
- specify amazonlinux bootstrap image, to fix --use-bootstrap-image
- allow to replace mock-core-configs by packages that 'Provides: mock-configs'
- rpmlint: remove macro in comment
* Thu Mar 26 2020 Pavel Raiskup <praiskup(a)redhat.com> 32.5-1
- Add Devel repo to CentOS 8 and CentOS Stream (ngompa13(a)gmail.com)
- Add PowerTools sources repo entry to CentOS 8 and CentOS Stream
(ngompa13(a)gmail.com)
- Fix openSUSE Leap 15.1 aarch64 update repo & package filters
(ngompa13(a)gmail.com)
- Add openSUSE Leap 15.2 (ngompa13(a)gmail.com)
- openSUSE Leap 15.0 is EOL (ngompa13(a)gmail.com)
- Add OpenMandriva Lx 4.1 (ngompa13(a)gmail.com)
- OpenMandriva Lx 4.0 is EOL (ngompa13(a)gmail.com)
* Wed Mar 11 2020 Pavel Raiskup <praiskup(a)redhat.com> 32.4-1
- disable package_state plugin for openmandriva 4.0/Cooker
- Mageia 6 is EOL
- opensuse: copy ssl ca bundle to correct path
* Fri Feb 21 2020 Pavel Raiskup <praiskup(a)redhat.com> 32.3-2
- bump version for lost git tag
* Fri Feb 21 2020 Pavel Raiskup <praiskup(a)redhat.com> 32.3-1
- put back the opensuse-leap-15.1-x86_64 config
* Thu Feb 20 2020 Pavel Raiskup <praiskup(a)redhat.com> 32.2-1
- use one template for branched fedoras
- templatize F31+ i386
- use 'dnf.conf' in mageia, opensuse and openmandriva configs
* Sat Feb 8 2020 Pavel Raiskup <praiskup(a)redhat.com> 32.1-1
- centos-8 and centos-stream to use dnf.conf
* Fri Feb 7 2020 Pavel Raiskup <praiskup(a)redhat.com> 32.0-2
- solve yum.conf vs. dnf.conf inconsistency in config and code
* Thu Feb 6 2020 Pavel Raiskup <praiskup(a)redhat.com> 32.0-1
- add F32 configs and move rawhide to F33
- make compatibility changes with mock 2.0
- allow host overrides (build-time for now)
- use jinja for gpgkey= in rawhide template
- add rhel-{7,8}-s390x configs
- drop rhel-8-ppc64, it was never supported
- fix rhel-7 configs
- update epel-8 config template to include modular repos as well as missing
non-modular source repo (mmathesi(a)redhat.com)
- drop for a long time useless epel-6-ppc64 config
- use template for opensuse, openmandriva, mageia, epel, custom ...
- fix epel-6.tpl config bug
- set default podman image for centos-stream
- remove aarch64 string from repo name in template [RHBZ#1780977]
- EOL F29 configs
- fix rhelepel configs
- allow including configs and templates from relative path (frostyx(a)email.cz)
- configs: drop cost=2000 from fedora-31+-i386
- add missing metadata_expire=0 to epel configs
- change default of 'package_manager' to 'dnf', and use
'dnf.conf'
- remove rhelbeta-8-*
--------------------------------------------------------------------------------
References:
[ 1 ] Bug #1528414 - util.py attempts to write into a non-existent directory, and fails
https://bugzilla.redhat.com/show_bug.cgi?id=1528414
[ 2 ] Bug #1672984 - mock --buildsrpm requires --sources when there are zero sources in
the spec file
https://bugzilla.redhat.com/show_bug.cgi?id=1672984
[ 3 ] Bug #1686945 - Modern Fedora and RHEL8 beta need
config_opts['use_bootstrap_container'] = True
https://bugzilla.redhat.com/show_bug.cgi?id=1686945
[ 4 ] Bug #1694420 - [abrt] mock: rmtree(): util.py:231:rmtree:PermissionError: [Errno
13] Permission denied:
'/var/lib/mock/fedora-29-x86_64/root/builddir/build/SOURCES'
https://bugzilla.redhat.com/show_bug.cgi?id=1694420
[ 5 ] Bug #1740421 - selinux is preventing mock-1.4.17-1 from executing RPM scriptlets
https://bugzilla.redhat.com/show_bug.cgi?id=1740421
[ 6 ] Bug #1743843 - Builds fail with use_bootstrap_container experimental feature
enabled
https://bugzilla.redhat.com/show_bug.cgi?id=1743843
[ 7 ] Bug #1762728 - [lvm] can't scrub volume
https://bugzilla.redhat.com/show_bug.cgi?id=1762728
[ 8 ] Bug #1767417 - --forcearch doesn't warn/fail if you don't have
qemu-user-static installed
https://bugzilla.redhat.com/show_bug.cgi?id=1767417
[ 9 ] Bug #1772598 - use_bootstrap_image doesn't use proxy
https://bugzilla.redhat.com/show_bug.cgi?id=1772598
[ 10 ] Bug #1802930 - unwanted output in quiet mode
https://bugzilla.redhat.com/show_bug.cgi?id=1802930
[ 11 ] Bug #1805179 - Mock does not work with LVM plugin when bootstrap enabled
https://bugzilla.redhat.com/show_bug.cgi?id=1805179
[ 12 ] Bug #1806039 - config_opts['yum.conf'] was changed to
config_opts['dnf.conf'], breaking things
https://bugzilla.redhat.com/show_bug.cgi?id=1806039
[ 13 ] Bug #1806482 - Doing `flatpak-module local-build` against mock-2 causes
"ValueError: too deep jinja re-evaluation on '...'"
https://bugzilla.redhat.com/show_bug.cgi?id=1806482
[ 14 ] Bug #1806577 - Macros for "sign" plugin are not expanded
https://bugzilla.redhat.com/show_bug.cgi?id=1806577
--------------------------------------------------------------------------------
This update can be installed with the "yum" update programs. Use
su -c 'yum update mock-core-configs' at the command line.
For more information, refer to "YUM", available at
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7\
/html/System_Administrators_Guide/ch-yum.html
All packages are signed with the Fedora EPEL GPG key. More details on the
GPG keys used by the Fedora Project can be found at
https://fedoraproject.org/keys
--------------------------------------------------------------------------------