Releases: rpm-software-management/mock
mock-core-configs-32.7-1
- add branched Fedora 33 configs
- eol Fedora 30
- tolerate a 1-minute baseurl outages in OpenSUSE configs
- fix site-defaults.cfg reference to docs
- change all openSUSE configs to use the download redirector (baseurl)
mock-2.4-1
- mockbuild/buildroot: Make btrfs-control available if host supports it ([email protected])
- Add
module_setup_commands
configuration option - Use a different .rpmmacros for install/build time
- lvm: don't recall set_current_snapshot unnecessarily
- mock: copy source CA certificates ([email protected])
mock-2.3-1
Bug-fix release only:
https://github.com/rpm-software-management/mock/wiki/Release-Notes-2.3
mock-core-configs-32.6-1
Full release notes:
https://github.com/rpm-software-management/mock/wiki/Release-Notes-2.2
- 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.2-1
Full release notes:
https://github.com/rpm-software-management/mock/wiki/Release-Notes-2.2
- 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, [email protected]) - 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, [email protected])
- 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>/, 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.5
- Add Devel repo to CentOS 8 and CentOS Stream
- Add PowerTools sources repo entry to CentOS 8 and CentOS Stream
- Fix openSUSE Leap 15.1 aarch64 update repo & package filters
- Add openSUSE Leap 15.2
- openSUSE Leap 15.0 is EOL
- Add OpenMandriva Lx 4.1
- OpenMandriva Lx 4.0 is EOL
mock-core-configs-32.4-1
mock-2.1-1
Mock 2.1 bugfixes:
-
Fixed
mock --install <sth>
request when<sth>
is a file or directory
in CWD, or an absolute path on host (#474). -
We do not emit the warning
WARNING: Not using '/usr/bin/yum', it is symlink to '/usr/bin/dnf-3'
anymore for installing bootstrap chroot (#477,
rhbz#1802930). -
The
config_opts['dnf.conf']
option is made equivalent to
config_opts['yum.conf']
(#486). -
Allow specifying host-local repositories with
baseurl=/absolute/path
, not
only withbaseurl=file:///absolute/path
. This did not work with bootstrap
mode before (#480). -
Fixed broken sign plugin (#476, rhbz#1806577).
-
Fixed too deep jinja recursion caused by trailing newlines in
dnf.conf
config option (rhbz#1806482). -
The
mock --scrub
with lvm_root plugin enabled did not work (rhbz#1805179). -
Do not fail when host doesn't provide CA certificates on expected locations
(#492). -
Traceback fix for
mock --chain
with tmpfskeep_mounted
enabled (#479). -
Dnf caches aren't cleaned for consecutive builds with
mock --chain
(#483).
Mock 2.1 new features:
-
Mock expects that
rpmbuild -br
(for %generate_buildrequires spec statement,
aka "dynamic BuildRequires") can return both exit status 0 and 11. Currently
released RPM always returns 11, but the plan is to fix that to return 0. -
New option
ssl_ca_bundle_path
. When specified, the CA certificate bundle
is copied from host to the specified path in chroot (usually it is enough to
keep the default behavior when whole/etc/pki/ca-trust/extracted
is
copied, but e.g. OpenSUSE has different path to bundle) (#500).
mock-core-configs-32.3-2
- fixed improperly templatized opensuse-leap-15.1 config (#484)
mock-core-configs-32.2-1
- use 'dnf.conf' in mageia, opensuse and openmandriva configs
- fixes for module platform spec in Fedora 31+ i386 (rhbz#1804415)