diff --git a/python-URLObject.changes b/python-URLObject.changes index 84cbb65..90f95d9 100644 --- a/python-URLObject.changes +++ b/python-URLObject.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 12 15:44:38 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Fri Jun 5 14:37:28 UTC 2020 - Matej Cepl diff --git a/python-URLObject.spec b/python-URLObject.spec index b5bcd0c..b5a07ea 100644 --- a/python-URLObject.spec +++ b/python-URLObject.spec @@ -1,7 +1,7 @@ # # spec file for package python-URLObject # -# 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-URLObject Version: 2.4.3 Release: 0 @@ -27,7 +26,9 @@ Source: https://files.pythonhosted.org/packages/source/U/URLObject/URLOb # patch-feature-upstream remove_nose.patch gh#zacharyvoase/urlobject#42 mcepl@suse.com # Remove the need for nose and use the standard library. Patch0: remove_nose.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -48,10 +49,10 @@ test-driven manner, and has full Sphinx documentation. %autopatch -p1 %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -60,6 +61,7 @@ test-driven manner, and has full Sphinx documentation. %files %{python_files} %doc README.rst %license UNLICENSE -%{python_sitelib}/* +%{python_sitelib}/[Uu][Rr][Ll][Oo]bject +%{python_sitelib}/[Uu][Rr][Ll][Oo]bject-%{version}*-info %changelog