diff --git a/.tito/packages/mock b/.tito/packages/mock index b9c9d1f4c..0a198f793 100644 --- a/.tito/packages/mock +++ b/.tito/packages/mock @@ -1 +1 @@ -5.1.1-1 mock/ +5.2-1 mock/ diff --git a/docs/Release-Notes-5.2.md b/docs/Release-Notes-5.2.md new file mode 100644 index 000000000..b3971856e --- /dev/null +++ b/docs/Release-Notes-5.2.md @@ -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 diff --git a/mock/mock.spec b/mock/mock.spec index 0c0fdd165..79197ed29 100644 --- a/mock/mock.spec +++ b/mock/mock.spec @@ -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 @@ -275,6 +275,14 @@ pylint-3 py/mockbuild/ py/*.py py/mockbuild/plugins/* || : %dir %{_datadir}/cheat %changelog +* Wed Sep 27 2023 Pavel Raiskup 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 5.1.1-1 - keep re-creating the root directory for each build diff --git a/releng/release-notes-next/cmdline-args.feature b/releng/release-notes-next/cmdline-args.feature deleted file mode 100644 index d32af98e1..000000000 --- a/releng/release-notes-next/cmdline-args.feature +++ /dev/null @@ -1 +0,0 @@ -Mock newly logs its command-line arguments. diff --git a/releng/release-notes-next/epel-8-compat.bugfix.md b/releng/release-notes-next/epel-8-compat.bugfix.md deleted file mode 100644 index fdb41d6cd..000000000 --- a/releng/release-notes-next/epel-8-compat.bugfix.md +++ /dev/null @@ -1,6 +0,0 @@ -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). diff --git a/releng/release-notes-next/expanduser-with-copyout.bugfix b/releng/release-notes-next/expanduser-with-copyout.bugfix deleted file mode 100644 index f91edc4a1..000000000 --- a/releng/release-notes-next/expanduser-with-copyout.bugfix +++ /dev/null @@ -1,4 +0,0 @@ -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][]. diff --git a/releng/release-notes-next/state-log.bugfix b/releng/release-notes-next/state-log.bugfix deleted file mode 100644 index 6f1f6451c..000000000 --- a/releng/release-notes-next/state-log.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -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.