Skip to content

Commit 710aec8

Browse files
committed
Relase v6.4 and Mock Core Configs v43.2
With the help of: /usr/bin/tito tag --use-version=43.2 /usr/bin/tito tag --use-version=6.4 ./releng/generate-release-notes --use-version 6.4
1 parent af90b6c commit 710aec8

16 files changed

+135
-82
lines changed

.tito/packages/mock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.3-1 mock/
1+
6.4-1 mock/

.tito/packages/mock-core-configs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
43.1-1 mock-core-configs/
1+
43.2-1 mock-core-configs/

docs/Release-Notes-6.4.md

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
---
2+
layout: default
3+
title: Release Notes - Mock 6.4 and Core Configs 43.2
4+
---
5+
6+
## [Release 6.4](https://rpm-software-management.github.io/mock/Release-Notes-6.4) - 2025-10-09
7+
8+
9+
### New features
10+
11+
- A new plugin named `unbreq` has been added. This plugin can detect unused
12+
`BuildRequires` based on file access during the RPM build. This plugin is
13+
currently experimental and disabled by default.
14+
15+
It can be enabled in the configuration as follows:
16+
17+
config_opts['plugin_conf']['unbreq_enable'] = True
18+
19+
See the [documentation page](Plugin-Unbreq).
20+
21+
- Added support for client certificates when using `mock-hermetic-repo`. This can be
22+
specified as:
23+
24+
--client-cert-for example.com /path/crt.pem /path/key.pem
25+
26+
27+
### Changes
28+
29+
- Mock now passes `--suppress-sync=yes` to every `systemd-nspawn` call (when
30+
available, i.e., on RHEL 9 and later). This turns off any form of on-disk
31+
file system synchronization for the container payload.
32+
33+
This feature sets a new default for:
34+
35+
config_opts['nspawn_args'] = ['--capability=cap_ipc_lock', '--suppress-sync=yes']
36+
37+
This dramatically improves container runtime performance by up to 16% for
38+
large packages. It has little effect on building small packages.
39+
40+
The only drawback is that in the case of a hard shutdown (e.g., a power
41+
outage) during the build (or any other operation you do with Mock), some
42+
changes in the buildroot could be lost. As the Mock buildroot is meant to be
43+
ephemeral and reconstructed for every action, we have enabled this by default.
44+
If you want to disable this feature, you can add the following to your
45+
configuration:
46+
47+
config_opts['nspawn_args'] = ['--capability=cap_ipc_lock']
48+
49+
- The [buildroot\_lock](Plugin-BuildrootLock) plugin's error reporting has been
50+
improved. It now displays all package NVRAs that are not found in the
51+
configured DNF repositories; previously, it only displayed the first missing
52+
package from the list.
53+
54+
- We now set `module_hotfixes=true` on repositories generated using
55+
`--localrepo`. This allows fetching packages from the local repository that
56+
are filtered out by modularity when building with `--chain --localrepo <dir>`.
57+
58+
### Bugfixes
59+
60+
- We now execute `repoquery` in `buildroot_lock.py` as a privileged user.
61+
Otherwise, [DNF5 fails with](https://github.com/rpm-software-management/dnf5/issues/2392):
62+
63+
filesystem error: cannot create directories: Permission denied [/var/lib/mock/f44-build-repo_6596509/root/home/mockbuilder/.local/state]
64+
65+
66+
### Mock Core Config Changes
67+
68+
- RHEL+EPEL configuration files now provide a `[local]` repository pointing to
69+
EPEL buildroots in Koji, so users can use `--enablerepo=local`. The `[local]`
70+
repos are explicitly `gpgcheck=0`, as RHEL config `[main]` parts set
71+
`gpgcheck=1` by default.
72+
73+
- Azure Linux 2.0 configuration marked End of Life (CBL Mariner 2.0) to follow
74+
the distribution's [End of Life](https://techcommunity.microsoft.com/blog/azurearcblog/eol-of-azure-linux-2-0-on-azure-kubernetes-service-enabled-by-azure-arc/4434242).
75+
76+
- Added support for Kylin OS 11, released at the end of 2024.
77+
78+
79+
#### The following contributors have contributed to this release:
80+
81+
- Andreas Rogge
82+
- Marián Konček
83+
- Miroslav Suchý
84+
- Scott Hebert
85+
- Takuya Wakazono
86+
87+
Thank You!

docs/Releasing-Mock.md

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@ Be sure to use the `--config-only` flag when generating release notes.
2929

3030
## Release checklist overview
3131

32-
0. Make sure all GitHub CI checks are passing for the latest commit
32+
0. Make sure all GitHub CI checks are passing for the latest commit.
33+
Roughly check the commits that are to be released:
34+
35+
$ tito report --untagged-commits
3336

3437
1. Change to the correct local branch, e.g. `main`
3538

@@ -47,13 +50,13 @@ Be sure to use the `--config-only` flag when generating release notes.
4750
the current version.
4851

4952
For a full release (both mock and mock-core-configs):
50-
53+
5154
$ sudo dnf install towncrier
5255
$ ./releng/generate-release-notes --use-version 5.1
5356
$ vim docs/Release-Notes-5.1.md # modify manually!
54-
57+
5558
For a mock-core-configs only release:
56-
59+
5760
$ ./releng/generate-release-notes --use-version 40.3 --config-only
5861
$ vim docs/Release-Notes-Configs-40.3.md # modify manually!
5962

@@ -62,33 +65,35 @@ Be sure to use the `--config-only` flag when generating release notes.
6265
Add list of contributing authors:
6366

6467
For mock:
68+
6569
$ git log mock-4.1-1..HEAD --format="%aN" mock/ | sort | uniq
66-
70+
6771
For mock-core-configs:
72+
6873
$ git log mock-core-configs-38.1-1..HEAD --format="%aN" mock-core-configs/ | sort | uniq
6974

7075
6. Commit all the pending changes
7176

7277
7. On your box (you need push-access rights), tag the git tree:
7378

7479
For a full release (both mock and mock-core-configs):
75-
80+
7681
# First tag mock-core-configs
7782
$ cd ./mock-core-configs
7883
$ tito tag --use-version 40.3 # major.minor according to policy
79-
84+
8085
# Then update mock's spec and tag mock
8186
# Update 'Conflicts: mock-core-configs < ??' in mock.spec
8287
$ cd ./mock
8388
$ tito tag --use-version 5.1 # major.minor according to policy
8489

8590
For a mock-core-configs only release:
86-
91+
8792
$ cd ./mock-core-configs
8893
$ tito tag --use-version 40.3 # major.minor according to policy
89-
94+
9095
For a mock only release:
91-
96+
9297
$ cd ./mock
9398
$ tito tag --use-version 5.1 # major.minor according to policy
9499

@@ -107,28 +112,32 @@ Be sure to use the `--config-only` flag when generating release notes.
107112

108113
These tito-generated commits can calmly be squashed, updated, etc. (you may
109114
include documentation fixes there). Just don't forget to re-add the dropped
110-
tag back (if dropped) 'git tag mock-4.1-1'. Alternatively just `git push`
115+
tag back (if dropped) `git tag mock-4.1-1`. Alternatively just `git push`
111116
the commits.
112117

113118
9. Push the git tags upstream, e.g.
114119

115120
For mock-core-configs:
121+
116122
$ git push origin mock-core-configs-40.4-1
117-
123+
118124
For mock:
125+
119126
$ git push origin mock-5.1-1
120127

121128
10. Release for EPEL and Fedora
122129

123-
$ # make sure that .tito/releasers.conf is up to date
124-
130+
Make sure that `.tito/releasers.conf` is up to date.
131+
125132
For mock-core-configs:
126-
$ cd ./mock-core-configs
127-
$ tito release fedora-git-all
128-
133+
134+
$ cd ./mock-core-configs
135+
$ tito release fedora-git-all
136+
129137
For mock:
130-
$ cd ./mock
131-
$ tito release fedora-git-all
138+
139+
$ cd ./mock
140+
$ tito release fedora-git-all
132141

133142
11. publish tgz
134143

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Versions in Linux distributions:
7070

7171

7272
## Release Notes
73+
* [6.4 and Configs 43.2](Release-Notes-6.4) (2025-10-09) - Release 6.4 adds the experimental `unbreq` plugin and boosts performance with a new default setting.
7374
* [Configs 43.1](Release-Notes-Configs-43.1) (2025-08-12) - Fedora 43 branched.
7475
* [6.3 and Configs 42.4](Release-Notes-6.3) (2025-06-18) - Compatibility bug-fix for Python 3.14, configuration is owned by root group, AlmaLinux and Rocky Linux 10 added.
7576
* [6.2 and Configs 42.3](Release-Notes-6.2) (2025-05-22) - RHEL 10 configuration, configurable ca-trust paths that Mock copies to chroots.

mock-core-configs/mock-core-configs.spec

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
%endif
44

55
Name: mock-core-configs
6-
Version: 43.1
6+
Version: 43.2
77
Release: 1%{?dist}
88
Summary: Mock core config files basic chroots
99

@@ -152,6 +152,12 @@ fi
152152
%ghost %config(noreplace,missingok) %{_sysconfdir}/mock/default.cfg
153153

154154
%changelog
155+
* Thu Oct 09 2025 Pavel Raiskup <[email protected]> 43.2-1
156+
- disable gpgcheck for EPEL [local] repos
157+
- make sure [local] repo is available in rhel+epel repos
158+
- Add Kylin OS 11 ([email protected])
159+
- Azure Linux (CBL Mariner) 2.0 is now EOL ([email protected])
160+
155161
* Tue Aug 12 2025 Jiri Kyjovsky <[email protected]> 43.1-1
156162
- Move Rawhide to F44
157163

mock/mock.spec

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
Summary: Builds packages inside chroots
2020
Name: mock
21-
Version: 6.3
21+
Version: 6.4
2222
Release: 1%{?dist}
2323
License: GPL-2.0-or-later
2424
# Source is created by
@@ -329,6 +329,15 @@ pylint-3 py/mockbuild/ py/*.py py/mockbuild/plugins/* || :
329329

330330

331331
%changelog
332+
* Thu Oct 09 2025 Pavel Raiskup <[email protected]> 6.4-1
333+
- add unbreq plugin for detection of unused BuildRequires ([email protected])
334+
- set module_hotfixes=true for --addrepo repositories ([email protected])
335+
- added options to /bin/mock-hermetic-repo support for client certificates ([email protected])
336+
- use "systemd-nspawn --suppress-sync=yes" when available ([email protected])
337+
- buildroot_lock: call repoquery as a privileged user
338+
- buildroot_lock: better error reporting
339+
- fix unclosed file warning ([email protected])
340+
332341
* Wed Jun 18 2025 Pavel Raiskup <[email protected]> 6.3-1
333342
- lockfile: don't hard-code DNF _bindir location, use config_opts
334343
- fix sysusers packaging once more

releng/release-notes-next/azure-linux-2.config

Lines changed: 0 additions & 1 deletion
This file was deleted.

releng/release-notes-next/buildroot-lock-err-reporting.feature

Lines changed: 0 additions & 2 deletions
This file was deleted.

releng/release-notes-next/detect-unused-buildrequires.feature.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)