diff --git a/python-websocket-client.spec b/python-websocket-client.spec index 2813dd1025420cd10308488ccac89e0c6039cb65..d9a9585786593ba806a72da7ec1360935324aa98 100644 --- a/python-websocket-client.spec +++ b/python-websocket-client.spec @@ -1,10 +1,10 @@ Name: python-websocket-client -Version: 0.58.0 +Version: 1.2.3 Release: 1 Summary: WebSocket client for python License: LGPLv2 URL: https://github.com/websocket-client/websocket-client -Source0: https://files.pythonhosted.org/packages/source/w/websocket-client/websocket_client-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/b6/fa/72e77d094563208174abbbaa73c32f28c43a31193b843bddf233c7c87644/websocket-client-1.2.3.tar.gz BuildArch: noarch %description @@ -17,7 +17,7 @@ websocket-client supports only hybi-13. %package -n python3-websocket-client %{?python_provide:%python_provide python3-websocket-client} Summary: WebSocket client for python -BuildRequires: python3-devel, python3-setuptools, python3-six +BuildRequires: python3-devel, python3-setuptools, python3-six, python3-pytest Requires: python3-six Conflicts: python2-websocket-client <= 0.40.0-4 @@ -28,7 +28,7 @@ are the synchronous functions. websocket-client supports only hybi-13. %prep -%autosetup -n websocket_client-%{version} -p1 +%autosetup -n websocket-client-%{version} -p1 rm -rf websocket_client.egg-info %build @@ -39,18 +39,19 @@ rm -rf websocket_client.egg-info rm -rf $RPM_BUILD_ROOT%{python3_sitelib}/websocket/cacert.pem ln -s /etc/pki/tls/cert.pem $RPM_BUILD_ROOT%{python3_sitelib}/websocket/cacert.pem rm -r $RPM_BUILD_ROOT%{python3_sitelib}/websocket/tests -mv $RPM_BUILD_ROOT%{_bindir}/wsdump.py $RPM_BUILD_ROOT%{_bindir}/wsdump %check -%{__python3} setup.py test +pytest %files -n python3-websocket-client %license LICENSE -%doc README.rst %{python3_sitelib}/* %{_bindir}/wsdump %changelog +* Mon Jul 18 2022 OpenStack_SIG - 1.2.3-1 +- Upgrade package to version 1.2.3 + * Thu Aug 05 2021 liusheng - 0.58.0-1 - Upgrade to version 0.58.0 diff --git a/websocket-client-1.2.3.tar.gz b/websocket-client-1.2.3.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..38bb14ddbfb75a1e85f5c576fae3fc7c7f8a8f34 Binary files /dev/null and b/websocket-client-1.2.3.tar.gz differ diff --git a/websocket_client-0.58.0.tar.gz b/websocket_client-0.58.0.tar.gz deleted file mode 100644 index a325e59519b5afe623ab46c8a41ec6749526c29b..0000000000000000000000000000000000000000 Binary files a/websocket_client-0.58.0.tar.gz and /dev/null differ