diff --git a/python-requestsexceptions.changes b/python-requestsexceptions.changes index a5ae088..26f2dbf 100644 --- a/python-requestsexceptions.changes +++ b/python-requestsexceptions.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 11 13:05:09 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Wed Nov 3 11:16:30 UTC 2021 - pgajdos@suse.com diff --git a/python-requestsexceptions.spec b/python-requestsexceptions.spec index 7a6df30..4198c78 100644 --- a/python-requestsexceptions.spec +++ b/python-requestsexceptions.spec @@ -1,7 +1,7 @@ # # spec file for package python-requestsexceptions # -# Copyright (c) 2021 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,20 +16,20 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-requestsexceptions Version: 1.4.0 Release: 0 Summary: Import exceptions from potentially bundled packages in requests License: Apache-2.0 Group: Development/Languages/Python -URL: http://www.openstack.org/ +URL: https://www.openstack.org/ Source: https://files.pythonhosted.org/packages/source/r/requestsexceptions/requestsexceptions-%{version}.tar.gz BuildRequires: %{python_module pbr} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -44,10 +44,10 @@ regardless of whether they are bundled. %setup -q -n requestsexceptions-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %check # no tests found @@ -55,6 +55,7 @@ regardless of whether they are bundled. %files %{python_files} %license LICENSE %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/requestsexceptions +%{python_sitelib}/requestsexceptions-%{version}*-info %changelog