From e780c9a747a8480879708904f65b2572199719dd Mon Sep 17 00:00:00 2001 From: Sdk Build System Date: Fri, 5 Jan 2024 16:52:28 +0100 Subject: [PATCH] rebuilt with python 3.10 [release 1.5.1-2mamba;Tue Apr 11 2023] --- python-websocket-client.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/python-websocket-client.spec b/python-websocket-client.spec index cdfd36d..2ddca89 100644 --- a/python-websocket-client.spec +++ b/python-websocket-client.spec @@ -1,6 +1,6 @@ Name: python-websocket-client Version: 1.5.1 -Release: 1mamba +Release: 2mamba Summary: Websocket client for Python Group: System/Libraries Vendor: openmamba @@ -40,13 +40,25 @@ CFLAGS="%{optflags}" %{__python} setup.py build sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +%if "%{?with_pyver}" != "3" +# Rename any conflicting file outside of python site packages tree +for f in %{_bindir}/wsdump; do + mv %{buildroot}${f}{,-%{?pyappend}} +done +sed -i "\,%{_bindir},d" %{name}.filelist +%endif + %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%{_bindir}/wsdump* %dir %{python_sitearch}/websocket_client-%{version}-py*.egg-info %{python_sitearch}/websocket_client-%{version}-py*.egg-info/* %doc LICENSE %changelog +* Tue Apr 11 2023 Sdk Build System 1.5.1-2mamba +- rebuilt with python 3.10 + * Mon Feb 06 2023 Automatic Build System 1.5.1-1mamba - automatic version update by autodist