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,3 +1,18 @@
-------------------------------------------------------------------
Sat Feb 1 22:17:17 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- 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"]
-------------------------------------------------------------------
Thu Nov 14 05:42:51 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>

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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d5e214b38d02b0e38d011a3af5e655b5ea93ee6113570ea0bccb06af314f96d3
size 107204

3
specfile-0.34.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7950b42dbbb3c9d294e2aeaf9d4c8e853d66c7fad21ec92611c2126ba4dd6e62
size 109985