Skip to content

Commit

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

/usr/bin/tito tag --use-version=5.2
  • Loading branch information
praiskup committed Sep 27, 2023
1 parent c198b6c commit 0ce94ed
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .tito/packages/mock
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.1.1-1 mock/
5.2-1 mock/
30 changes: 30 additions & 0 deletions docs/Release-Notes-5.2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
layout: default
title: Release Notes - Mock 5.2
---

Released on 2023-09-27.

### Mock 5.2 new features

- Mock newly logs out its command-line arguments to better deduct what was
happening at build time.


### Bugfixes

- The fixes introduced in Mock 5.1 included a compatibility issue with Python in
Enterprise Linux 8 due to a dependency on the `capture_output=True` feature in
the `subprocess` module, which was added in Python 3.7. However, EL 8 is
running on Python 3.6. This compatibility issue has been resolved in Mock by
using `stdout=subprocess.PIPE` instead. This update was made based on a [report
from Bodhi update](https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-45ace77fca).
- Previous versions of Mock mistakenly expanded every `~` occurrence
(tilde character) in the specified source path with `--copyout`. So
files `~/foo~bar.txt` were searched on path `/builddir/foo/builddirbar.txt`
instead of just `/builddir/foo~bar.txt`. Fixes [rhbz#2239035][].
- The Mock state monitoring (creating state.log) was fixed so that Mock, unless
some exception is raised, always checks that we finished all the states we
started.

[rhbz#2239035]: https://bugzilla.redhat.com/2239035
10 changes: 9 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: 5.1.1.post1
Version: 5.2
Release: 1%{?dist}
License: GPL-2.0-or-later
# Source is created by
Expand Down Expand Up @@ -275,6 +275,14 @@ pylint-3 py/mockbuild/ py/*.py py/mockbuild/plugins/* || :
%dir %{_datadir}/cheat

%changelog
* Wed Sep 27 2023 Pavel Raiskup <[email protected]> 5.2-1
- Fix '~' user source expansion for --copyout
- Compatibility fix with EL 8
- Log out the command-line arguments
- Make sure that 'state' is always finished
- README.md: cleaning up
- Post-release administrivia

* Mon Sep 18 2023 Pavel Raiskup <[email protected]> 5.1.1-1
- keep re-creating the root directory for each build

Expand Down
1 change: 0 additions & 1 deletion releng/release-notes-next/cmdline-args.feature

This file was deleted.

6 changes: 0 additions & 6 deletions releng/release-notes-next/epel-8-compat.bugfix.md

This file was deleted.

4 changes: 0 additions & 4 deletions releng/release-notes-next/expanduser-with-copyout.bugfix

This file was deleted.

3 changes: 0 additions & 3 deletions releng/release-notes-next/state-log.bugfix

This file was deleted.

0 comments on commit 0ce94ed

Please sign in to comment.