14
0

Accepting request 1099363 from devel:languages:python

- 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/request/show/1099363
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-specfile?expand=0&rev=13
This commit is contained in:
2023-07-19 17:10:44 +00:00
committed by Git OBS Bridge
4 changed files with 20 additions and 6 deletions

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Jul 19 04:53:41 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- 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.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 29 09:50:26 UTC 2023 - David Anes <david.anes@suse.com> Mon May 29 09:50:26 UTC 2023 - David Anes <david.anes@suse.com>

View File

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

View File

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

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

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