1
0

Accepting request 1189608 from devel:languages:python

- remove obsolete python2 constructs
- use version macro in sources

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

OBS-URL: https://build.opensuse.org/request/show/1189608
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ConfigUpdater?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2024-07-25 13:40:04 +00:00 committed by Git OBS Bridge
commit 62350bd53f
4 changed files with 23 additions and 13 deletions

BIN
ConfigUpdater-3.1.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
ConfigUpdater-3.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu Jul 25 10:17:03 UTC 2024 - Dirk Müller <dmueller@suse.com>
- remove obsolete python2 constructs
- use version macro in sources
-------------------------------------------------------------------
Wed Jul 24 08:27:23 UTC 2024 - Angel Yankov <angel.yankov@suse.com>
- Update to v3.2
* Fix square brackets not parsed in section names, github issue #123
- Remove macro definition from spec as rpmlint check marked it as redundant.
-------------------------------------------------------------------
Wed Jul 13 15:27:09 UTC 2022 - Ben Greiner <code@bnavigator.de>

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,20 @@
#
%{?!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-%{version}.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 +67,3 @@ sed -i '/--cov/d' setup.cfg
%{python_sitelib}/ConfigUpdater-%{version}*-info
%changelog