python-boost166: provide/obsolete python3-boost; python3-boost166: provide/obsolete python3-boost [release 1.66.0-5mamba;Tue Feb 05 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 03:53:15 +01:00
parent 12b6fa7d60
commit 2787b6e3fe

View File

@ -2,7 +2,7 @@
%define pckmajver %(echo %version | cut -d. -f1-2 | tr . _)
Name: libboost166
Version: 1.66.0
Release: 4mamba
Release: 5mamba
Summary: Free peer-reviewed portable C++ source libraries
Group: System/Libraries
Vendor: openmamba
@ -56,6 +56,8 @@ This is the devel package.
%package -n python-boost166
Group: System/Libraries
Summary: Boost.Python library
Provides: python-boost
Obsoletes: python-boost
Requires: %{name} = %{version}-%{release}
%description -n python-boost166
@ -71,6 +73,8 @@ This package contains then Boost.python library
%package -n python3-boost166
Group: System/Libraries
Summary: Boost.Python3 library
Provides: python3-boost
Obsoletes: python3-boost
Requires: %{name} = %{version}-%{release}
%description -n python-boost166
@ -84,11 +88,12 @@ Ten Boost libraries will be included in the C++ Standards Committee's upcoming C
This package contains then Boost.python3 library
%prep
%setup -q -n boost_%{pckver}
%setup -q -n boost_%{pckver} -D -T
#%patch0 -p1
#%patch1 -p1
%build
#:<< EOF
# Build boost with python3
./bootstrap.sh \
--with-icu \
@ -208,7 +213,6 @@ cp stage/lib/libboost_python-mt.* %{buildroot}%{_libdir}/
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%{_libdir}/mpi.so
%exclude %{_libdir}/libboost_python*.so.*
%doc LICENSE_1_0.txt
@ -218,7 +222,7 @@ cp stage/lib/libboost_python-mt.* %{buildroot}%{_libdir}/
%{_includedir}/boost/*
%{_libdir}/*.so
%{_libdir}/*.a
%exclude %{_libdir}/mpi.so
#% exclude %{_libdir}/mpi.so
%files -n python-boost166
%defattr(-,root,root)
@ -231,6 +235,9 @@ cp stage/lib/libboost_python-mt.* %{buildroot}%{_libdir}/
%{_libdir}/libboost_python3-mt.so.*
%changelog
* Tue Feb 05 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.66.0-5mamba
- python-boost166: provide/obsolete python3-boost; python3-boost166: provide/obsolete python3-boost
* Sun Feb 03 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.66.0-4mamba
- -devel: remove requirements for python-boost-devel and python3-boost-devel