diff --git a/python-Delorean.changes b/python-Delorean.changes index 831bcf9..e4a4520 100644 --- a/python-Delorean.changes +++ b/python-Delorean.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 5 15:20:06 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Thu Mar 17 15:10:01 UTC 2022 - pgajdos@suse.com diff --git a/python-Delorean.spec b/python-Delorean.spec index 8d03f24..14ae09b 100644 --- a/python-Delorean.spec +++ b/python-Delorean.spec @@ -1,7 +1,7 @@ # # spec file for package python-Delorean # -# Copyright (c) 2022 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 @@ -24,6 +24,7 @@ Summary: Python library for manipulating datetimes License: MIT URL: https://github.com/myusuf3/delorean Source: https://files.pythonhosted.org/packages/source/D/Delorean/Delorean-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -51,10 +52,10 @@ arise dealing with datetimes in Python. %setup -q -n Delorean-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -65,6 +66,7 @@ sed -i 's:import mock:from unittest import mock:' tests/delorean_tests.py %files %{python_files} %doc CHANGES.rst README.rst %license LICENSE.txt -%{python_sitelib}/* +%{python_sitelib}/delorean +%{python_sitelib}/[Dd]elorean-%{version}*info %changelog