[packit] 0.22.0 upstream release

Upstream tag: 0.22.0
Upstream commit: e49e5e3f

If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit-stg/rpms/python-specfile.git refs/heads/*:refs/remotes/packit-stg/*
git checkout packit-stg/0.22.0-f37-update-propose_downstream
```
This commit is contained in:
Packit 2023-09-01 13:40:45 +00:00
commit 65f57b1d83
7 changed files with 31 additions and 7 deletions

View file

@ -13,7 +13,7 @@ in a minimal diff.}
Name: python-specfile
Version: 0.21.0
Version: 0.22.0
Release: 1%{?dist}
Summary: A library for parsing and manipulating RPM spec files
@ -62,7 +62,7 @@ Summary: %{summary}
%if %{with tests}
%check
%pytest
%pytest --verbose tests/unit tests/integration
%endif
@ -71,6 +71,9 @@ Summary: %{summary}
%changelog
* Fri Sep 01 2023 Packit <hello@packit.dev> - 0.22.0-1
- Macro definitions and tags gained a new `valid` attribute. A macro definition/tag is considered valid if it doesn't appear in a false branch of any condition appearing in the spec file. (#276)
* 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)