Skip to content

Commit

Permalink
Automatic commit of package [mock] release [3.5-1].
Browse files Browse the repository at this point in the history
Created by command:

/usr/bin/tito tag
  • Loading branch information
praiskup authored and xsuchy committed Dec 1, 2022
1 parent 3e38215 commit 9440417
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .tito/packages/mock
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.4-1 mock/
3.5-1 mock/
24 changes: 24 additions & 0 deletions docs/Release-Notes-3.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
layout: default
title: Release Notes - Mock v3.5
---

Released on 2022-12-01.

## News in Mock v3.5:

- For cross-arch builds (see manual page for the `--forcearch` option), Mock
tries to detect if the (potentially missing) `qemu-user-static` package is
installed. Since Fedora 37, the package got split into a set of packages
arch-specific packages (like `qemu-user-static-x86`, `qemu-user-static-ppc`,
etc.). The Mock v3.4 does a better check, and raises more useful error if the
package is missing.

In Mock v3.5 we further enhanced the related error message(s).

We also fixed a bug in the detection mechanism — mock no longer fails-hard for
a missing architecture (not configured in
`config_opts['qemu_user_static_mapping']`). Mock in such situation newly just
tries its best and continues the build, even though failure is likely.

[PR#1007]: https://github.com/rpm-software-management/mock/pull/1007
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Versions in Linux distributions:


## Release Notes
* [3.5](Release-Notes-3.5) (2022-12-01) - Fixed detection of qemu-user-static* packages for the `--forcearch` feature.
* [3.4](Release-Notes-3.4) (2022-11-15) - Device Mapper control file exposed, better detection for qemu-user-static.
* [3.3](Release-Notes-3.3) (2022-10-17) - Mock can again be run by `root`, even though this is discouraged.
* [3.2](Release-Notes-3.2) (2022-10-14) - Optimized --list-chroots option, directories in `/var/lib` dropped SGID bit, `rpmbuild --noclean` is not used for old chroots (EL6 and older).
Expand Down
7 changes: 6 additions & 1 deletion mock/mock.spec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

Summary: Builds packages inside chroots
Name: mock
Version: 3.4
Version: 3.5
Release: 1%{?dist}
License: GPL-2.0-or-later
# Source is created by
Expand Down Expand Up @@ -261,6 +261,11 @@ pylint-3 py/mockbuild/ py/*.py py/mockbuild/plugins/* || :
%dir %{_datadir}/cheat

%changelog
* Thu Dec 01 2022 Pavel Raiskup <[email protected]> 3.5-1
- check for qemu-user-static raises InvalidArchitecture()
- forcearch: map armv7hl to the /usr/bin/qemu-arm-static binary
- more pedantic check for the qemu-*-static binaries

* Tue Nov 15 2022 Pavel Raiskup <[email protected]> 3.4-1
- make device mapper control device available if supported ([email protected])
- check for target specific qemu-user-static ([email protected])
Expand Down

0 comments on commit 9440417

Please sign in to comment.