python-boost180-py3: remove conflicting file mpi.so [release 1.80.0-3mamba;Fri Jan 27 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 03:54:23 +01:00
parent 77476215e8
commit 02dd6121de

View File

@ -2,7 +2,7 @@
%define pckmajver %(echo %version | cut -d. -f1-2 | tr . _)
Name: libboost180
Version: 1.80.0
Release: 2mamba
Release: 3mamba
Summary: Free peer-reviewed portable C++ source libraries
Group: System/Libraries
Vendor: openmamba
@ -167,43 +167,8 @@ for _lib in python numpy; do
ln -srL %{buildroot}%{_libdir}/libboost_${_lib}3{7,}.so
done
%ifarch disabled
cd boost_python
EXPAT_INCLUDE=%{_includedir} \
EXPAT_LIBPATH=%{_libdir} \
./b2 \
--prefix=%{buildroot}%{_prefix} \
--libdir=%{buildroot}%{_libdir} \
--execprefix=%{buildroot}%{_libexecdir} \
--includedir=%{buildroot}%{_includedir} \
--layout=system -d2 \
python=2.7 \
runtime-link=shared \
link=shared,static \
toolset=gcc \
variant=release \
threading=multi \
debug-symbols=on \
install
cd ../boost_python36
EXPAT_INCLUDE=%{_includedir} \
EXPAT_LIBPATH=%{_libdir} \
./b2 \
--prefix=%{buildroot}%{_prefix} \
--libdir=%{buildroot}%{_libdir} \
--execprefix=%{buildroot}%{_libexecdir} \
--includedir=%{buildroot}%{_includedir} \
--layout=system -d2 \
python=3.6 \
runtime-link=shared \
link=shared,static \
toolset=gcc \
variant=release \
threading=multi \
debug-symbols=on \
install
%endif
# legacy package
rm -f %{buildroot}%{_libdir}/boost-python3*/mpi.so
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -233,12 +198,15 @@ EXPAT_LIBPATH=%{_libdir} \
%files -n python-boost180-py3
%defattr(-,root,root)
%{_libdir}/boost-python3*/mpi.so
#%{_libdir}/boost-python3*/mpi.so
%{_libdir}/libboost_python3*.so.*
%{_libdir}/libboost_mpi_python3*.so.*
%{_libdir}/libboost_numpy3*.so.*
%changelog
* Fri Jan 27 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.80.0-3mamba
- python-boost180-py3: remove conflicting file mpi.so
* Thu Jan 26 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.80.0-2mamba
- legacy package