forked from pool/python-websocket-client
Accepting request 517021 from home:TheBlackCat:branches:devel:languages:python
- Update license to LGPL 3 - Fix rpmlint issues OBS-URL: https://build.opensuse.org/request/show/517021 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-websocket-client?expand=0&rev=21
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 15 15:10:45 UTC 2017 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
- Update license to LGPL 3
|
||||||
|
- Fix rpmlint issues
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 24 23:55:01 UTC 2017 - jengelh@inai.de
|
Mon Jul 24 23:55:01 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
|||||||
@@ -25,19 +25,20 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define oldpython python
|
%define oldpython python
|
||||||
|
%bcond_without test
|
||||||
Name: python-websocket-client
|
Name: python-websocket-client
|
||||||
Version: 0.44.0
|
Version: 0.44.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: WebSocket client implementation
|
Summary: WebSocket client implementation
|
||||||
License: LGPL-2.1
|
License: LGPL-3.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/liris/websocket-client/releases
|
Url: https://github.com/liris/websocket-client/releases
|
||||||
Source0: https://files.pythonhosted.org/packages/source/w/websocket-client/websocket_client-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/w/websocket-client/websocket_client-%{version}.tar.gz
|
||||||
BuildRequires: %ssl_match_hostname
|
BuildRequires: %ssl_match_hostname
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python
|
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun): update-alternatives
|
||||||
@@ -67,10 +68,14 @@ Websocket-client supports only hybi-13.
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/wsdump.py
|
%python_clone -a %{buildroot}%{_bindir}/wsdump.py
|
||||||
|
|
||||||
# Use the system certs
|
# Use the system certs
|
||||||
rm %{buildroot}/%{python_sitelib}/websocket/cacert.pem
|
%python_expand rm %{buildroot}/%{$python_sitelib}/websocket/cacert.pem
|
||||||
|
|
||||||
|
%python_expand %fdupes %{buildroot}/%{$python_sitelib}
|
||||||
|
|
||||||
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
%python_exec websocket/tests/test_websocket.py
|
%python_exec websocket/tests/test_websocket.py
|
||||||
|
%endif
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative wsdump.py
|
%python_install_alternative wsdump.py
|
||||||
|
|||||||
Reference in New Issue
Block a user