From 644c041de0e628b51d07c58fe5753c6c3972a221 Mon Sep 17 00:00:00 2001 From: wangshuo Date: Wed, 26 Feb 2020 09:44:55 +0800 Subject: [PATCH] boost: move examples files to examples package --- boost.spec | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/boost.spec b/boost.spec index a5d7253..2d0fc65 100644 --- a/boost.spec +++ b/boost.spec @@ -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} -- Gitee