14
0

- Update to 0.34.0:

- Added support for detached (open)SUSE style changelogs
- Update to 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"]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=60
This commit is contained in:
2025-02-01 22:19:13 +00:00
committed by Git OBS Bridge
parent da45df8c4e
commit 50908a7ccf
4 changed files with 20 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-specfile
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-specfile
Version: 0.32.6
Version: 0.34.0
Release: 0
Summary: A library for parsing and manipulating RPM spec files
License: MIT