Blob Blame History Raw
-------------------------------------------------------------------
Mon Jan 23 15:38:33 UTC 2023 - David Anes <david.anes@suse.com>

- Update to version 0.13.1:
  * Fixed a bug in section parsing that caused sections to be 
    ignored when there were macro definitions spread across the spec
    file and not cumulated at the top.

- Update to version 0.13.0: 
  * Added Section.options attribute for convenient manipulation of
    section options.
  * specfile now supports single-line sections where section content
    is represented by a macro starting with a newline.
  * Added evr argument to Specfile.add_changelog_entry(). This
    allows adding a changelog entry with an EVR value that's
    different from the current specfile's value. This makes it
    easier to reconstruct a specfile's %changelog based on another
    source using the higher level interface.

-------------------------------------------------------------------
Thu Jan 12 10:27:28 UTC 2023 - David Anes <david.anes@suse.com>

- Remove patch (already upstream):
  * python-specfile-improve-setup-cfg.patch

- Update to version 0.12.0:
  * All classes including `Specfile` itself can now be copied using
    the standard `copy()` and `deepcopy()` functions from `copy` 
    module.
  * `Section.name` attribute has been renamed to a more fitting 
    `Section.id`.
  * `setup.cfg` now uses `license_files` instead of deprecated 
    `license_file`.

-------------------------------------------------------------------
Tue Dec 13 08:20:36 UTC 2022 - David Anes <david.anes@suse.com>

- Add config.cfg improvements to remove deprecation warnings
  * python-specfile-improve-setup-cfg.patch

- Update to version 0.11.1
  * Tags enclosed in conditional macro expansions are not ignored 
    anymore.
  * Fixed context managers being shared between Specfile instances.

- Update to version 0.11.0 
  * Context managers (Specfile.sections(), Specfile.tags() etc.) can
    now be nested and combined together (with one exception - 
    Specfile.macro_definitions()), and it is also possible to use 
    tag properties (e.g. Specfile.version, Specfile.license) inside 
    them. It is also possible to access the data directly, avoiding 
    the with statement, by using the content property 
    (e.g. Specfile.tags().content), but be aware that no 
    modifications done to such data will be preserved. You must use 
    with to make changes.

-------------------------------------------------------------------
Wed Nov 30 17:15:22 UTC 2022 - David Anes <david.anes@suse.com>

- Update to version 0.10.0 
  * Fixed an issue that caused empty lines originally inside 
    changelog entries to appear at the end. (#140)
  * Renamed the ignore_missing_includes option to a more general 
    force_parse. If specified, it allows to attempt to parse the 
    spec file even if one or more sources required to be present at 
    parsing time are not available. Such sources include sources 
    referenced from shell expansions in tag values and sources 
    included using the %include directive. (#137)

-------------------------------------------------------------------
Wed Nov  9 19:02:12 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

- Update to version 0.9.0 
  * Added utility classes for working with (N)EVR. (#113)
  * Fixed an issue with multiple instances of Specfile not expanding macros in the right context. (#117)

-------------------------------------------------------------------
Tue Oct 25 09:48:05 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>

- Update to version v0.8.0
  * Added Specfile.update_tag() method that allows updating tag values while
    trying to preserve macro expansions. You can watch a demo on YouTube.
    (#101)
- 0.7.0
  * It is now possible to filter changelog entries by specifying lower bound
    EVR, upper bound EVR or both. (#104)
  * Added support for filenames specified in source URL fragments, for example:
    https://example.com/foo/1.0/download.cgi#/%{name}-%{version}.tar.gz (#100)

-------------------------------------------------------------------
Sat Sep 17 04:08:46 UTC 2022 - John Vandenberg <jayvdb@gmail.com>

- Initial spec for v0.6.0