14
0

- Update to 0.20.0:

* Fixed infinite loop when removing macros with `%` in the name. (#244)
  * Added a possibility to undefine system macros by setting a macro value
    to `None` in the `macros` argument of the `Specfile` constructor. (#244)
  * Fixed a bug in processing options of `%prep` macros. For instance, when
    a quoted string appeared inside an expression expansion, it could lead
    to improper parsing, rendering the spec file invalid after accessing
    the options. (#253)
  * Parsing has been optimized so that even spec files with hundreds of
    thousands of lines can be processed in reasonable time. (#240)
- Drop setuptools_scm_git_archive BuildRequires.
- Don't need to skip Python 3.8.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=25
This commit is contained in:
2023-07-19 04:54:16 +00:00
committed by Git OBS Bridge
parent e7a8a5b419
commit 96e67b60a5
4 changed files with 20 additions and 6 deletions

View File

@@ -16,16 +16,14 @@
#
%define skip_python38 1
Name: python-specfile
Version: 0.18.0
Version: 0.20.0
Release: 0
Summary: A library for parsing and manipulating RPM spec files
License: MIT
URL: https://github.com/packit/specfile
Source: https://files.pythonhosted.org/packages/source/s/specfile/specfile-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm_git_archive}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}