diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b16662..e4b721c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +# 0.33.0 + +- There is a new convenience method `Sections.get_or_create()` that allows you to manipulate a section + without checking if it exists first. If a section doesn't exist, it will be appended to the end. (#441) + For example, this will work properly even on spec files without `%changelog`: + + with spec.sections() as sections: + changelog = sections.get_or_create("changelog") + changelog[:] = ["%autochangelog"] + # 0.32.6 - New minor release for testing in CBS Koji diff --git a/epel8/python-specfile.spec b/epel8/python-specfile.spec index 61bdf6c..b1f943e 100644 --- a/epel8/python-specfile.spec +++ b/epel8/python-specfile.spec @@ -4,7 +4,7 @@ Main focus is on modifying existing spec files, any change should result in a minimal diff.} -%global base_version 0.32.6 +%global base_version 0.33.0 #global prerelease rc1 %global package_version %{base_version}%{?prerelease:~%{prerelease}} @@ -68,6 +68,9 @@ rm -rf specfile.egg-info %changelog +* Fri Dec 13 2024 Packit Team - 0.33.0-1 +- New upstream release 0.33.0 + * Wed Nov 13 2024 Packit Team - 0.32.6-1 - New upstream release 0.32.6 diff --git a/fedora/python-specfile.spec b/fedora/python-specfile.spec index e4bb71b..8c6e3f9 100644 --- a/fedora/python-specfile.spec +++ b/fedora/python-specfile.spec @@ -7,7 +7,7 @@ Main focus is on modifying existing spec files, any change should result in a minimal diff.} -%global base_version 0.32.6 +%global base_version 0.33.0 #global prerelease rc1 %global package_version %{base_version}%{?prerelease:~%{prerelease}} @@ -77,6 +77,9 @@ sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml %changelog +* Fri Dec 13 2024 Packit Team - 0.33.0-1 +- New upstream release 0.33.0 + * Wed Nov 13 2024 Packit Team - 0.32.6-1 - New upstream release 0.32.6