14
0
2025-06-11 13:04:27 +00:00
committed by Git OBS Bridge
parent ee5e445419
commit d3fcf21f5f
2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 11 13:04:10 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Thu Jun 15 12:49:19 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>

View File

@@ -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