diff --git a/python-dicttoxml.changes b/python-dicttoxml.changes index 6c00fc3..5b36a70 100644 --- a/python-dicttoxml.changes +++ b/python-dicttoxml.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 26 11:50:10 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Mon Jan 2 19:52:01 UTC 2023 - Dirk Müller diff --git a/python-dicttoxml.spec b/python-dicttoxml.spec index 0c01add..3310db1 100644 --- a/python-dicttoxml.spec +++ b/python-dicttoxml.spec @@ -1,7 +1,7 @@ # # spec file for package python-dicttoxml # -# Copyright (c) 2023 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-dicttoxml Version: 1.7.16 Release: 0 @@ -25,7 +24,9 @@ License: GPL-2.0-only Group: Development/Languages/Python URL: https://github.com/quandyfactory/dicttoxml Source: https://files.pythonhosted.org/packages/source/d/dicttoxml/dicttoxml-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -41,10 +42,10 @@ sed -i '1{\@^#!%{_bindir}/env python@d}' dicttoxml.py mv LICENCE.txt LICENSE.txt %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -53,6 +54,7 @@ mv LICENCE.txt LICENSE.txt %files %{python_files} %doc README.md %license LICENSE.txt -%{python_sitelib}/* +%{python_sitelib}/dicttoxml +%{python_sitelib}/dicttoxml-%{version}*-info %changelog