py310: resolve bindir conflict [release 5.4.2-3mamba;Sun Apr 09 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 16:32:17 +01:00
parent a4baac10a6
commit d165b72e5c

View File

@ -1,7 +1,7 @@
%define pkgname %(echo %name | cut -d- -f2- | tr - _) %define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-qtconsole Name: python-qtconsole
Version: 5.4.2 Version: 5.4.2
Release: 1mamba Release: 3mamba
Summary: A rich Qt-based console for working with Jupyter kernels, supporting rich media output, session export, and more Summary: A rich Qt-based console for working with Jupyter kernels, supporting rich media output, session export, and more
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -49,13 +49,29 @@ CFLAGS="%{optflags}" %{__python} setup.py build
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist 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}/jupyter-qtconsole; do
mv %{buildroot}${f}{,-%{?pyappend}}
done
%endif
sed -i "\,%{_bindir},d" %{name}.filelist
%files %{?pyappend} -f %{name}.filelist %files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/jupyter-qtconsole*
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info %dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/*
%doc LICENSE %doc LICENSE
%changelog %changelog
* Sun Apr 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.4.2-3mamba
- py310: resolve bindir conflict
* Fri Apr 07 2023 Sdk Build System <sdk@mambasoft.it> 5.4.2-2mamba
- rebuilt with python 3.10
* Mon Apr 03 2023 Automatic Build System <autodist@mambasoft.it> 5.4.2-1mamba * Mon Apr 03 2023 Automatic Build System <autodist@mambasoft.it> 5.4.2-1mamba
- automatic version update by autodist - automatic version update by autodist