From 2787b6e3fefceda7182f8f0bffe0709bcd2a9699 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 03:53:15 +0100 Subject: [PATCH] python-boost166: provide/obsolete python3-boost; python3-boost166: provide/obsolete python3-boost [release 1.66.0-5mamba;Tue Feb 05 2019] --- libboost166.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/libboost166.spec b/libboost166.spec index dd89fad..a11da49 100644 --- a/libboost166.spec +++ b/libboost166.spec @@ -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 1.66.0-5mamba +- python-boost166: provide/obsolete python3-boost; python3-boost166: provide/obsolete python3-boost + * Sun Feb 03 2019 Silvan Calarco 1.66.0-4mamba - -devel: remove requirements for python-boost-devel and python3-boost-devel