From 1d7bed291ee74797e93d4103cb2040b8cec55e3381ec9ab86fa26f02611d62ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Wed, 11 Jun 2025 13:03:38 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-unixsocket?expand=0&rev=15 --- python-requests-unixsocket.changes | 5 +++++ python-requests-unixsocket.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-requests-unixsocket.changes b/python-requests-unixsocket.changes index 93f81fb..20b4c89 100644 --- a/python-requests-unixsocket.changes +++ b/python-requests-unixsocket.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 11 13:03:20 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Thu May 23 08:28:38 UTC 2024 - Markéta Machová diff --git a/python-requests-unixsocket.spec b/python-requests-unixsocket.spec index 08e8f2f..0491baa 100644 --- a/python-requests-unixsocket.spec +++ b/python-requests-unixsocket.spec @@ -1,7 +1,7 @@ # # spec file for package python-requests-unixsocket # -# Copyright (c) 2024 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 @@ -30,7 +30,9 @@ Patch0: urllib3-2.patch # PATCH-FIX-UPSTREAM https://github.com/msabramo/requests-unixsocket/pull/72 adapters: fix for requests 2.32.2+ Patch1: requests232.patch BuildRequires: %{python_module pbr} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-requests >= 1.1 @@ -52,10 +54,10 @@ HTTP via a UNIX domain socket. sed -i -e '/addopts/d' pytest.ini %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check