[packit] 0.25.0 upstream release

Upstream tag: 0.25.0
Upstream commit: 78f50b4a
This commit is contained in:
Packit 2023-11-20 15:03:24 +00:00
commit 5fe582b104
6 changed files with 21 additions and 7 deletions

View file

@ -4,6 +4,10 @@ packit_instances: ["prod", "stg"]
upstream_project_url: https://github.com/packit/specfile
issue_repository: https://github.com/packit/specfile
# PEP440
#prerelease_suffix_pattern: "([.\\-_]?)(a(lpha)?|b(eta)?|r?c|pre(view)?)([.\\-_]?\\d+)?"
#prerelease_suffix_macro: prerelease
copy_upstream_release_description: true
packages:

View file

@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 0.85.0.post1.dev13+g80a59f61.
The file was generated using packit 0.86.1.post1.dev5+g8b1868cd.

View file

@ -1,6 +1,6 @@
discover:
how: fmf
url: https://github.com/packit/specfile.git
ref: 2efbd9ce9b4316f1eba34e240be3821c83b774a0
ref: 78f50b4a097245938a00e27e7b7165c8eb00ec3b
execute:
how: tmt

View file

@ -2,7 +2,7 @@ discover:
how: fmf
url: https://github.com/packit/packit
filter: tier:0 | tier:1
ref: 80a59f612fd70d709f9e8c7da141118e17aa7a56
ref: 209847d1ff49e4bc4d1099e77b2b0790bc680a04
prepare:
- how: install
copr: packit/packit-dev

View file

@ -7,15 +7,22 @@ Main focus is on modifying existing spec files, any change should result
in a minimal diff.}
%global base_version 0.25.0
#global prerelease rc2
%global package_version %{base_version}%{?prerelease:~%{prerelease}}
%global pypi_version %{base_version}%{?prerelease}
Name: python-specfile
Version: 0.24.0
Version: %{package_version}
Release: 1%{?dist}
Summary: A library for parsing and manipulating RPM spec files
License: MIT
URL: https://github.com/packit/specfile
Source0: %{pypi_source specfile}
Source0: %{pypi_source specfile %{pypi_version}}
BuildArch: noarch
@ -39,7 +46,7 @@ Summary: %{summary}
%prep
%autosetup -p1 -n specfile-%{version}
%autosetup -p1 -n specfile-%{pypi_version}
# since we are building from PyPI source, we don't need git-archive
# support in setuptools_scm
@ -70,6 +77,9 @@ sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml
%changelog
* Mon Nov 20 2023 Packit <hello@packit.dev> - 0.25.0-1
- There is a new method, `Specfile.update_version()`, that allows updating spec file version even if it is a pre-release. (#317)
* Mon Nov 06 2023 Packit <hello@packit.dev> - 0.24.0-1
- Improved type annotations for `UserList` subclasses. (#299)
- Macro definitions gained a new `commented_out` property indicating that a macro definition is commented out. Another new property, `comment_out_style`, determines if it is achieved by using a `%%dnl` (discard next line) directive (e.g. `%%dnl %%global prerelease beta2`) or by replacing the starting `%` with `#` (e.g. `#global prerelease beta2`). (#298)

View file

@ -1 +1 @@
SHA512 (specfile-0.24.0.tar.gz) = e5728f0b0bfa9c2bcf102d1e65d5182b94e34af2228ef655cc28c83d8f60fa4d08432c61bcf9f6c1c8c3d4aeea0bf1595bead542687d3c2690fe3ddaae34325f
SHA512 (specfile-0.25.0.tar.gz) = 9e3d2f3665ccd713c7e2c50f01656c2b9e157bab88c90be38053ac94e20feab2c3f8d5f1f7dbc0ae543e7ad101fc3db7c5bfbfed249537a999608d5bb737eaf9