forked from pool/python-PySocks
Accepting request 710114 from home:apersaud:branches:devel:languages:python
update to latest version OBS-URL: https://build.opensuse.org/request/show/710114 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PySocks?expand=0&rev=12
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-PySocks
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 LISA GmbH, Bingen, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -20,29 +20,27 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
Name: python-PySocks
|
||||
Version: 1.6.8
|
||||
Version: 1.7.0
|
||||
Release: 0
|
||||
Summary: A Python SOCKS client module
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/Anorov/PySocks
|
||||
URL: https://github.com/Anorov/PySocks
|
||||
Source: https://files.pythonhosted.org/packages/source/P/PySocks/PySocks-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%ifpython2
|
||||
Provides: %{oldpython}-SocksiPy = %{version}
|
||||
Obsoletes: %{oldpython}-SocksiPy < %{version}
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A Python SOCKS client module.
|
||||
|
||||
It is an actively maintained SocksiPy fork. Contains many
|
||||
improvements to the original.
|
||||
improvements to the original.
|
||||
|
||||
See https://github.com/Anorov/PySocks for more information.
|
||||
|
||||
@@ -56,7 +54,9 @@ See https://github.com/Anorov/PySocks for more information.
|
||||
%python_install
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/socks.py*
|
||||
%{python_sitelib}/sockshandler.py*
|
||||
%{python_sitelib}/PySocks-%{version}-py*.egg-info
|
||||
%pycache_only %{python_sitelib}/__pycache__
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user