14
0

- update to 0.26.0:

* When accessing tags or macro definitions by name, specfile
    now takes validity into account when looking for the best
    match. For example if there are two instances of `Version`
    tag, one in the true and one in the false branch of a
    condition, `Specfile.version` will always access the one that
    is in the true branch. (#328)
  * Third pre-release for testing Packit support.
  - There is a new method, Specfile.update_version(), that allows
    updating spec file version even if it is a pre-release. (#317)
  - Sources now have a valid property that indicates whether a
    source is valid in the current context, meaning it is not
- reduce buildrequires to git-core
- Update to version 0.18.0:
- Update to version 0.17.0:
    heuristics as rpmdev-packager, meaning that the
  * Added Specfile.has_autorelease property to detect if a spec
- Update to version 0.15.0:
    necessary, greatly improving performance in certain scenarios.
  * Fixed a bug that broke parsing in case spec file contained
  * Specfile no longer depends on rpm-py-installer, it now depends
  * Fixed infinite loop that occured when section options were
  * Fixed a bug in section parsing that caused sections to be
- Update to version 0.13.0:
    the standard `copy()` and `deepcopy()` functions from `copy`
  * `Section.name` attribute has been renamed to a more fitting
  * `setup.cfg` now uses `license_files` instead of deprecated
  * Tags enclosed in conditional macro expansions are not ignored
- Update to version 0.11.0
    now be nested and combined together (with one exception -

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=38
This commit is contained in:
2023-12-29 10:18:36 +00:00
committed by Git OBS Bridge
parent 4e944a5d82
commit e0f10195f5
4 changed files with 52 additions and 40 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Dec 29 10:17:19 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.26.0:
* When accessing tags or macro definitions by name, specfile
now takes validity into account when looking for the best
match. For example if there are two instances of `Version`
tag, one in the true and one in the false branch of a
condition, `Specfile.version` will always access the one that
is in the true branch. (#328)
* Third pre-release for testing Packit support.
-------------------------------------------------------------------
Thu Nov 23 07:47:50 UTC 2023 - David Anes <david.anes@suse.com>

View File

@@ -17,7 +17,7 @@
Name: python-specfile
Version: 0.25.0
Version: 0.26.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:4756342757140ffd14cf07c0bc48bf0c8516921435e6d3cac8fadb27adcf56ee
size 98258

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

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