diff --git a/mock.spec b/mock.spec index 79197ed..2ccaeb1 100644 --- a/mock.spec +++ b/mock.spec @@ -9,7 +9,7 @@ Summary: Builds packages inside chroots Name: mock -Version: 5.2 +Version: 5.3 Release: 1%{?dist} License: GPL-2.0-or-later # Source is created by @@ -65,6 +65,7 @@ BuildRequires: python%{python3_pkgversion}-devel %if %{with lint} BuildRequires: python%{python3_pkgversion}-pylint %endif +BuildRequires: python%{python3_pkgversion}-rpmautospec-core %if 0%{?fedora} >= 38 # DNF5 stack @@ -132,6 +133,15 @@ Requires: lvm2 Mock plugin that enables using LVM as a backend and support creating snapshots of the buildroot. +%package rpmautospec +Summary: Rpmautospec plugin for mock +Requires: %{name} = %{version}-%{release} +# This lets mock determine if a spec file needs to be processed with rpmautospec. +Requires: python%{python3_pkgversion}-rpmautospec-core + +%description rpmautospec +Mock plugin that preprocesses spec files using rpmautospec. + %package filesystem Summary: Mock filesystem layout Requires(pre): shadow-utils @@ -266,6 +276,10 @@ pylint-3 py/mockbuild/ py/*.py py/mockbuild/plugins/* || : %{python_sitelib}/mockbuild/plugins/lvm_root.* %{python3_sitelib}/mockbuild/plugins/__pycache__/lvm_root.*.py* +%files rpmautospec +%{python_sitelib}/mockbuild/plugins/rpmautospec.* +%{python3_sitelib}/mockbuild/plugins/__pycache__/rpmautospec.*.py* + %files filesystem %license COPYING %dir %{_sysconfdir}/mock @@ -275,6 +289,17 @@ pylint-3 py/mockbuild/ py/*.py py/mockbuild/plugins/* || : %dir %{_datadir}/cheat %changelog +* Wed Dec 13 2023 Pavel Raiskup 5.3-1 +- orphanskill: log command line arguments of the terminated process +- docs: migrate the community from IRC to Matrix +- dnf5: don't output to a PTY (mail@evangoo.de) +- new rpmautospec plugin (sgallagh@redhat.com, nils@redhat.com) +- fix bash completion with multiple file arguments (orion@nwra.com) +- only %%prep once when running %%generate_buildrequires multiple times (miro@hroncok.cz) +- Dynamic BuildRequires: Prevent generation of unsatisfied dependency (miro@hroncok.cz) +- Identify buildroot package management earlier (praiskup@redhat.com) +- Dump also dnf5 info into logs + * Wed Sep 27 2023 Pavel Raiskup 5.2-1 - Fix '~' user source expansion for --copyout - Compatibility fix with EL 8 diff --git a/sources b/sources index 9d50886..1a4667f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mock-5.2.tar.gz) = 5822dce32cd2ef71bded99dc635eb56597d222114e3ac2e869c6af3c47c248f879d934847c8150ff38188dcc14b3a31e8841183cc8270eb0606023bc98801f0a +SHA512 (mock-5.3.tar.gz) = ffef6d024a68003ff40ac32c9c541e8f45eccffb429e7f427319e9a62d397cb05cf84721f60382b3629a8145d0de16c1cb128176f51442109fe5d1268c2cb83d