diff --git a/python-ConfigUpdater.changes b/python-ConfigUpdater.changes index f74ba34..dd3ab78 100644 --- a/python-ConfigUpdater.changes +++ b/python-ConfigUpdater.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 5 13:14:21 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Thu Jul 25 10:17:03 UTC 2024 - Dirk Müller diff --git a/python-ConfigUpdater.spec b/python-ConfigUpdater.spec index a69c212..9dc163c 100644 --- a/python-ConfigUpdater.spec +++ b/python-ConfigUpdater.spec @@ -1,7 +1,7 @@ # # spec file for package python-ConfigUpdater # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,6 +23,7 @@ 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-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-virtualenv} BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest} @@ -51,10 +52,10 @@ meant for reading config files and writing new ones. sed -i '/--cov/d' setup.cfg %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -64,6 +65,6 @@ sed -i '/--cov/d' setup.cfg %doc AUTHORS.rst CHANGELOG.rst README.rst %license LICENSE.txt %{python_sitelib}/configupdater -%{python_sitelib}/ConfigUpdater-%{version}*-info +%{python_sitelib}/[Cc]onfig[Uu]pdater-%{version}*info %changelog