[packit] 0.22.1 upstream release

Upstream tag: 0.22.1
Upstream commit: 0af08c92
This commit is contained in:
Packit 2023-10-06 13:10:16 +00:00
commit ea0fc83faf
9 changed files with 34 additions and 19 deletions

View file

@ -5,7 +5,7 @@ in a minimal diff.}
Name: python-specfile
Version: 0.21.0
Version: 0.22.1
Release: 1%{?dist}
Summary: A library for parsing and manipulating RPM spec files
@ -17,7 +17,7 @@ Source0: %{pypi_source specfile}
BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: %{py3_dist setuptools setuptools-scm setuptools-scm-git-archive}
BuildRequires: %{py3_dist setuptools setuptools-scm}
BuildRequires: %{py3_dist importlib-metadata dataclasses rpm typing-extensions}
BuildRequires: %{py3_dist flexmock pytest}
BuildRequires: git-core
@ -37,8 +37,6 @@ Summary: %{summary}
%prep
%autosetup -p1 -n specfile-%{version}
# Use packaged RPM python bindings downstream
sed -i 's/rpm-py-installer/rpm/' setup.cfg
# Remove bundled egg-info
rm -rf specfile.egg-info
@ -52,7 +50,7 @@ rm -rf specfile.egg-info
%check
%pytest
%pytest --verbose tests/unit tests/integration
%files -n python%{python3_pkgversion}-specfile
@ -63,6 +61,9 @@ rm -rf specfile.egg-info
%changelog
* Fri Oct 06 2023 Packit <hello@packit.dev> - 0.22.1-1
- Removed dependency on setuptools-scm-git-archive. (#290)
* Fri Aug 11 2023 Nikola Forró <nforro@redhat.com> - 0.21.0-1
- `specfile` no longer tracebacks when some sources are missing and can't be _emulated_. In such case the spec file is parsed without them at the cost of `%%setup` and `%%patch` macros potentially expanding differently than with the sources present. (#271)
- Specfile's license in RPM spec file is now confirmed to be SPDX compatible. (#269)