Skip to content

Commit c0a98a8

Browse files
Release 0.33.0 (#442)
Release 0.33.0 Update the changelog and the specfile for release 0.33.0. Reviewed-by: Nikola Forró
2 parents b5b95e9 + 62c62ec commit c0a98a8

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# 0.33.0
2+
3+
- There is a new convenience method `Sections.get_or_create()` that allows you to manipulate a section
4+
without checking if it exists first. If a section doesn't exist, it will be appended to the end. (#441)
5+
For example, this will work properly even on spec files without `%changelog`:
6+
7+
with spec.sections() as sections:
8+
changelog = sections.get_or_create("changelog")
9+
changelog[:] = ["%autochangelog"]
10+
111
# 0.32.6
212

313
- New minor release for testing in CBS Koji

epel8/python-specfile.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Main focus is on modifying existing spec files, any change should result
44
in a minimal diff.}
55

66

7-
%global base_version 0.32.6
7+
%global base_version 0.33.0
88
#global prerelease rc1
99

1010
%global package_version %{base_version}%{?prerelease:~%{prerelease}}
@@ -68,6 +68,9 @@ rm -rf specfile.egg-info
6868

6969

7070
%changelog
71+
* Fri Dec 13 2024 Packit Team <[email protected]> - 0.33.0-1
72+
- New upstream release 0.33.0
73+
7174
* Wed Nov 13 2024 Packit Team <[email protected]> - 0.32.6-1
7275
- New upstream release 0.32.6
7376

fedora/python-specfile.spec

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Main focus is on modifying existing spec files, any change should result
77
in a minimal diff.}
88

99

10-
%global base_version 0.32.6
10+
%global base_version 0.33.0
1111
#global prerelease rc1
1212

1313
%global package_version %{base_version}%{?prerelease:~%{prerelease}}
@@ -77,6 +77,9 @@ sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml
7777

7878

7979
%changelog
80+
* Fri Dec 13 2024 Packit Team <[email protected]> - 0.33.0-1
81+
- New upstream release 0.33.0
82+
8083
* Wed Nov 13 2024 Packit Team <[email protected]> - 0.32.6-1
8184
- New upstream release 0.32.6
8285

0 commit comments

Comments
 (0)