14
0

Accepting request 1108767 from home:mschreiner:branches:devel:languages:python

- Update to 0.22.0:
  - Changes from 0.22.0:
    * Macro definitions and tags gained a new valid attribute. A macro
      definition/tag is considered valid if it doesn't appear in a
      false branch of any condition appearing in the spec file.
  - Changes from 0.21.0:
    * specfile no longer tracebacks when some sources are missing and
      can't be emulated. In such case the spec file is parsed without
      them at the cost of %setup and %patch macros potentially
      expanding differently than with the sources present.
    * Specfile's license in RPM spec file is now confirmed to be SPDX
      compatible.
- Blacklist a new broken test on spec file: test_parse_texlive_spec.
- Add a new Python module dependency: typing_extensions.
- Apply spec-cleaner.

OBS-URL: https://build.opensuse.org/request/show/1108767
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-specfile?expand=0&rev=27
This commit is contained in:
2023-09-04 10:43:57 +00:00
committed by Git OBS Bridge
parent 96e67b60a5
commit 406e1981a2
4 changed files with 29 additions and 11 deletions

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Sun Sep 3 17:13:37 UTC 2023 - Martin Schreiner <martin.schreiner@suse.com>
- Update to 0.22.0:
- Changes from 0.22.0:
* Macro definitions and tags gained a new valid attribute. A macro
definition/tag is considered valid if it doesn't appear in a
false branch of any condition appearing in the spec file.
- Changes from 0.21.0:
* specfile no longer tracebacks when some sources are missing and
can't be emulated. In such case the spec file is parsed without
them at the cost of %setup and %patch macros potentially
expanding differently than with the sources present.
* Specfile's license in RPM spec file is now confirmed to be SPDX
compatible.
- Blacklist a new broken test on spec file: test_parse_texlive_spec.
- Add a new Python module dependency: typing_extensions.
- Apply spec-cleaner.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 19 04:53:41 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com> Wed Jul 19 04:53:41 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -17,7 +17,7 @@
Name: python-specfile Name: python-specfile
Version: 0.20.0 Version: 0.22.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
@@ -27,18 +27,17 @@ BuildRequires: %{python_module pip}
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}
BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: %{python_module typing_extensions}
Requires: python-rpm
BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: git
BuildRequires: %{python_module flexmock} BuildRequires: %{python_module flexmock}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module rpm} BuildRequires: %{python_module rpm}
BuildRequires: git
# /SECTION # /SECTION
BuildRequires: fdupes
Requires: python-rpm
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -56,7 +55,7 @@ sed -i '/rpm-py-installer/d' setup.cfg
# Following tests fail: # Following tests fail:
# * test_update_tag # * test_update_tag
# * test_macros_reinit # * test_macros_reinit
%pytest -k "not (test_update_tag or test_macros_reinit)" %pytest -k "not (test_update_tag or test_macros_reinit or test_parse_texlive_spec)"
%install %install
%pyproject_install %pyproject_install

View File

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

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

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