diff --git a/libboost.spec b/libboost.spec index 8717012..6397bfc 100644 --- a/libboost.spec +++ b/libboost.spec @@ -2,16 +2,14 @@ %define pckmajver %(echo %version | cut -d. -f1-2 | tr . _) Name: libboost Version: 1.78.0 -Release: 1mamba +Release: 2mamba Summary: Free peer-reviewed portable C++ source libraries Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.boost.org/ -Source: https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_%{pckver}.tar.bz2 -#Source: https://dl.bintray.com/boostorg/release/%{version}/source/boost_%{pckver}.tar.bz2 -#Source: http://download.sourceforge.net/sourceforge/boost/boost_%{pckver}.tar.bz2 +Source: https://boostorg.jfrog.io/artifactory/main/release/%{version}/source/boost_%{pckver}.tar.bz2 Patch0: libboost-1.57.0-moc-libqt4-4.8.6.patch Patch1: libboost-1.58.0-python-3.3.patch Patch2: libboost-1.76.0-arm-upstream-fix-build.patch @@ -44,9 +42,9 @@ Ten Boost libraries will be included in the C++ Standards Committee's upcoming C %package devel Group: Development/Libraries Summary: Devel package for libboost -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: python-boost-devel -Obsoletes: python-boost-devel +Obsoletes: python-boost-devel < 1.78.0-2mamba Requires: python-boost-py3 = %{?epoch:%epoch:}%{version}-%{release} %description devel @@ -60,7 +58,7 @@ This is the devel package. %package -n python-boost-py3 Group: System/Libraries Summary: Boost.Python library for Python 3 -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n python-boost-py3 The Boost libraries provides free peer-reviewed portable C++ source libraries. @@ -218,6 +216,9 @@ EXPAT_LIBPATH=%{_libdir} \ %files %defattr(-,root,root) %{_libdir}/libboost_*.so.* +%exclude %{_libdir}/libboost_python3*.so.* +%exclude %{_libdir}/libboost_mpi_python3*.so.* +%exclude %{_libdir}/libboost_numpy3*.so.* %doc LICENSE_1_0.txt %files devel @@ -240,6 +241,9 @@ EXPAT_LIBPATH=%{_libdir} \ %{_libdir}/libboost_numpy3*.so.* %changelog +* Sun Mar 20 2022 Silvan Calarco 1.78.0-2mamba +- exclude duplicated python libraries from main package + * Mon Jan 03 2022 Silvan Calarco 1.78.0-1mamba - update to 1.78.0