From 33bfe6605851ae611857caa7351c5c97e0fdcfb9d9254b7e91344ba0d1492e6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 4 Jul 2023 15:46:19 +0000 Subject: [PATCH] Accepting request 1096796 from home:ecsos:python - Add %{?sle15_python_module_pythons} OBS-URL: https://build.opensuse.org/request/show/1096796 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-socks?expand=0&rev=8 --- python-python-socks.changes | 5 +++++ python-python-socks.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-python-socks.changes b/python-python-socks.changes index a643846..04930f5 100644 --- a/python-python-socks.changes +++ b/python-python-socks.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 4 11:32:43 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + ------------------------------------------------------------------- Wed Feb 22 07:28:56 UTC 2023 - ecsos diff --git a/python-python-socks.spec b/python-python-socks.spec index dac453e..5c65405 100644 --- a/python-python-socks.spec +++ b/python-python-socks.spec @@ -16,8 +16,7 @@ # -%define skip_python2 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-python-socks Version: 2.1.1 Release: 0 @@ -49,7 +48,7 @@ directly. It is used internally by aiohttp-socks and httpx-socks packages. %check # try at least a simple import -echo 'from python_socks import ProxyType' | python3 +echo 'from python_socks import ProxyType' | $python %files %{python_files} %doc README.md