15
0

Accepting request 1189402 from home:ayankov:branches:devel:languages:python

- Update to v3.2
  * Remove macro definition from spec as rpmlint check marked it as redundant.
  * Fix square brackets not parsed in section names, github issue #123

OBS-URL: https://build.opensuse.org/request/show/1189402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ConfigUpdater?expand=0&rev=3
This commit is contained in:
2024-07-25 10:16:20 +00:00
committed by Git OBS Bridge
parent 06b270ad0c
commit 4e5ed8ed6d
4 changed files with 18 additions and 12 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-ConfigUpdater
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,21 @@
#
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-ConfigUpdater
Version: 3.1.1
Version: 3.2
Release: 0
Summary: Parser like ConfigParser but for updating configuration files
License: MIT
URL: https://github.com/pyscaffold/configupdater
Source: https://files.pythonhosted.org/packages/source/C/ConfigUpdater/ConfigUpdater-3.1.1.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module pytest}
Source: https://files.pythonhosted.org/packages/source/C/ConfigUpdater/ConfigUpdater-3.2.tar.gz
BuildRequires: %{python_module pytest-virtualenv}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Provides: python-configupdater = %{version}-%{release}
%if %python_version_nodots < 38
Requires: python-importlib-metadata
@@ -69,4 +68,3 @@ sed -i '/--cov/d' setup.cfg
%{python_sitelib}/ConfigUpdater-%{version}*-info
%changelog