File mock.changes of Package mock
-------------------------------------------------------------------
Mon Oct 27 08:19:49 UTC 2025 - Alice Brooks <alice.brooks@suse.com>
- Upgrade to 6.5
* Changes
- The suppress-sync option that was introduced in the previous
release caused regression in some packages that use sync()
during %check. Because of that, it was disabled by default,
and you can enable it as opt-in.
-------------------------------------------------------------------
Thu Oct 16 07:11:52 UTC 2025 - Alice Brooks <alice.brooks@suse.com>
- Upgrade to 6.4
* New Features
- unbreq plugin has been added to detect unused build requirements
- Added support for client certificates when using mock-hermetic-repo
* Changes
- Mock now passes --suppress-sync=yes to every systemd-nspawn call
when available. This turns off any form of ondisk file system
synchronization for the container payload
- buildroot_lock plugin's error reporting has been improved
- We now set module_hotfixes=true on generated local repositories
* Bugfixes
- We now execute repoquery in buildroot_lock.py as a privileged user
which otherwise causes DNF5 to fail
-------------------------------------------------------------------
Thu Jun 19 05:17:28 UTC 2025 - Alice Brooks <alice.brooks@suse.com>
- Upgrade to 6.3
* New Features
- Disables copying /etc/pki/ca-trust and /usr/share/pki/ca-trust-source
on Azure Linux 3.0 via a new config options (‘ssl_copied_ca_trust_dirs’).
This avoids file ownership conflicts with a symlink installed by the
ca-certificates-shared packages on that distro. Behavior should be
unchanged for other configurations.
- The hw_info plugin now reports memory info units in human readable scale
* Bugfixes
- More strict hermetic image download
- bootstrap: automatically bind-mount local --additional-package
- Mock will now fall back smoothly to chroot installation by DNF if Podman
image pull fails entirely
- The /bin/dnf command is no longer hardcoded in the
–calculate-build-dependencies code, and we use the standard
config_opts['dnf5_command'] (or config_opts['dnf_command'], respectively)
- The mechanism for creating the mock group has been fixed again on
Fedora/RHEL, because the built-in RPM user creation mechanism only works
on F42 and newer. Mock on older distributions returned back to using %pre
scriptlet
- The mock-core-configs package files were previously owned by the mock
group, same as a few files in mock package — which was unnecessary. These
files are intended to be read-only and accessible by anyone. This issue
was actually causing install-order problems when mock-core-configs or mock
was installed before mock-filesystem. So newly those files have the
default 0644, root, root ownership
- Mock refused to start as non-root user with Python 3.14. This was because
of the change in behaviour of ProcessPoolExecutor in Python. The code has
been altered to work with both old and new Python
-------------------------------------------------------------------
Fri Feb 7 10:54:08 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 6.0:
* New features
- A new plugin, export_buildroot_image, has been added.
- Hermetic build process is enhanced by adding used imaged
digests into the metadata and confirming that exactly same
image is used in the next step.
- The mock-hermetic-repo command now implements a retry
mechanism for downloading files.
- The podman load mechanism for loading OCI archive bootstrap
images has been replaced with podman pull
oci-archive:/path/to-the.tar.
* Bugfixes
- The chroot_scan plugin has been fixed so it no longer
(re)creates resultdir below the global basedir, but under
the per-package resultdir (by default in a /var/tmp/
sub-directory).
- Make --dnf-cmd compatible with DNF5, fixes issue#1400.
- The libexec/create_default_route_in_container.sh file
shipped with Mock has been removed, it was never used in
practice (relates to issue#113).
- The hermetic mode no longer fallbacks to a manual bootstrap
installation using the hosts DNF stack; it doesn’t make
sense because we don’t have the bootstrap packages
pre-downloaded in the local “offline” repository. Fixes
issue#1522.
- The error message in the
podman_check_native_image_architecture() method has been
fixed to correctly indicate the expected (system)
architecture and the image architecture.
- Regression introduced in Mock v5.7 that ignored the
dnf_builddep_opts configuration option has been fixed,
issue#1496.
- The %pre scriptlet installing the mock group is newly not
used for modern distributions like Fedora 39+ or Mageia
(group/user additions are handled by an RPM built-in
feature).
- Rebase add-templated-directory.patch for updated version.
-------------------------------------------------------------------
Wed Mar 6 06:22:03 UTC 2024 - Luna D Dragon <luna.dragon@suse.com>
- Set python interpreter to explicitly call python 3
- Explicitly require python3
- don't make /etc/pki owned by mock, it should be owned by root
-------------------------------------------------------------------
Mon Mar 4 13:50:02 UTC 2024 - Luna D Dragon <luna.dragon@suse.com>
- update to 5.5 read more about it here https://rpm-software-management.github.io/mock/Release-Notes-5.5
-------------------------------------------------------------------
Fri Sep 15 08:46:12 UTC 2023 - Miika Alikirri <miika.alikirri@suse.com>
- Move /etc/pam.d/mock to /usr/etc/pam.d/mock
- Make sure all the files in /usr/bin are executable
-------------------------------------------------------------------
Thu Sep 14 10:20:14 UTC 2023 - Miika Alikirri <miika.alikirri@suse.com>
- Cleaned up spec file and added instructions
* Also updated _service file to reflect the instructions
-------------------------------------------------------------------
Mon Sep 11 13:58:54 UTC 2023 - Miika Alikirri <miika.alikirri@suse.com>
- Cleaned the spec file to be production ready
-------------------------------------------------------------------
Mon Sep 11 07:36:55 UTC 2023 - Miika Alikirri <miika.alikirri@suse.com>
- Initial mock build used for testing. Note that this is not production ready