From 7c2e3af63ba64a853734d819cf7eb62bf1a9a6a7 Mon Sep 17 00:00:00 2001 From: wangshuo Date: Tue, 10 Mar 2020 14:14:31 +0800 Subject: [PATCH] boost: move examples files to examples package --- boost.spec | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/boost.spec b/boost.spec index a5d7253..9e76fef 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 +* Mon May 10 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 -- Gitee