diff --git a/python-confpy.changes b/python-confpy.changes index 1a4f260..5706c81 100644 --- a/python-confpy.changes +++ b/python-confpy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 26 10:46:45 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Tue Nov 17 05:41:43 UTC 2020 - John Vandenberg diff --git a/python-confpy.spec b/python-confpy.spec index 12f5dd3..7cab1e3 100644 --- a/python-confpy.spec +++ b/python-confpy.spec @@ -1,7 +1,7 @@ # # spec file for package python-confpy # -# Copyright (c) 2020 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 @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-confpy Version: 0.11.0 Release: 0 @@ -25,8 +24,10 @@ License: MIT URL: https://github.com/kevinconway/confpy Source: https://files.pythonhosted.org/packages/source/c/confpy/confpy-%{version}.tar.gz BuildRequires: %{python_module Jinja2} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Suggests: python-Jinja2 @@ -41,10 +42,10 @@ Config file parsing and option management. find . -name '*.pyc' -delete %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/confpy-generate %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -61,6 +62,7 @@ find . -name '*.pyc' -delete %doc README.rst %license LICENSE %python_alternative %{_bindir}/confpy-generate -%{python_sitelib}/* +%{python_sitelib}/confpy +%{python_sitelib}/confpy-%{version}*-info %changelog