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