diff --git a/boost.spec b/boost.spec index a5d7253434b45225743e314b087f6f6b157f7970..665b3d818b34eee6909349d458a62632f8631245 100644 --- a/boost.spec +++ b/boost.spec @@ -21,7 +21,7 @@ Name: boost Version: 1.66.0 -Release: 16 +Release: 17 Summary: The free peer-reviewed portable C++ source libraries License: Boost and MIT and Python URL: http://www.boost.org @@ -442,7 +442,7 @@ configurable implementation of the mandated C99/C++ preprocessor functionality packed behind an easy to use iterator interface. %package devel -Summary: The Boost C++ headers, shared and static development libraries and examples +Summary: The Boost C++ headers, shared and static development libraries Requires: boost%{?_isa} = %{version}-%{release} Requires: libicu-devel%{?_isa} %if %{with quadmath} @@ -450,12 +450,10 @@ Requires: libquadmath-devel%{?_isa} %endif Provides: boost-static Obsoletes: boost-static -Provides: boost-examples -Obsoletes: boost-examples %description devel Headers shared object symbolic links for the Boost C++ libraries and static -Boost C++ libraries, example source files distributed with boost. +Boost C++ libraries distributed with boost. %package help Summary: HTML documentation for the Boost C++ libraries @@ -466,6 +464,14 @@ This package contains the documentation in the HTML format of the Boost C++ libraries. The documentation provides the same content as that on the Boost web page (http://www.boost.org/doc/libs/%{version_enc}). +%package examples +Summary: Source examples for the Boost C++ libraries +BuildArch: noarch +Requires: boost-devel = %{version}-%{release} + +%description examples +This package contains example source files distributed with boost. + %if 0%{with openmpi} %package openmpi Summary: Run-time component of Boost.MPI library @@ -1120,6 +1126,8 @@ fi %if 0%{with openmpi} %{_libdir}/openmpi/lib/*.a %endif + +%files examples %doc %{boost_examplesdir}/* %if 0%{with openmpi} @@ -1205,6 +1213,12 @@ fi %{_mandir}/man1/bjam.1* %changelog +* Wed Feb 26 2020 Wang Shuo - 1.66.0-17 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC: move examples files to examples package + * Mon Oct 28 2019 caomeng - 1.66.0-16 - Type:NA - ID:NA