forked from pool/python-python-socks
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
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 4 11:32:43 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
- Add %{?sle15_python_module_pythons}
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 22 07:28:56 UTC 2023 - ecsos <ecsos@opensuse.org>
|
Wed Feb 22 07:28:56 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||||
|
|
||||||
|
@@ -16,8 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define skip_python2 1
|
%{?sle15_python_module_pythons}
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-python-socks
|
Name: python-python-socks
|
||||||
Version: 2.1.1
|
Version: 2.1.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -49,7 +48,7 @@ directly. It is used internally by aiohttp-socks and httpx-socks packages.
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
# try at least a simple import
|
# try at least a simple import
|
||||||
echo 'from python_socks import ProxyType' | python3
|
echo 'from python_socks import ProxyType' | $python
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
Reference in New Issue
Block a user