diff --git a/python-requests-wsgi-adapter.changes b/python-requests-wsgi-adapter.changes index 8782f0e..b95a402 100644 --- a/python-requests-wsgi-adapter.changes +++ b/python-requests-wsgi-adapter.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 11 13:04:10 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Thu Jun 15 12:49:19 UTC 2023 - Andreas Schneider diff --git a/python-requests-wsgi-adapter.spec b/python-requests-wsgi-adapter.spec index 25752a3..cce7f5d 100644 --- a/python-requests-wsgi-adapter.spec +++ b/python-requests-wsgi-adapter.spec @@ -1,7 +1,7 @@ # # spec file for package python-requests-wsgi-adapter # -# 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 @@ -26,8 +26,10 @@ License: BSD-3-Clause URL: https://github.com/seanbrant/requests-wsgi-adapter # no tests in PyPI sdist, no tags on GitHub Source: https://github.com/seanbrant/requests-wsgi-adapter/archive/%{commit}.tar.gz#/requests-wsgi-adapter-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module requests >= 1.0} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-requests >= 1.0 @@ -41,10 +43,10 @@ WSGI Transport Adapter for Requests %setup -q -n requests-wsgi-adapter-%{commit} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check