!6 boost: move examples files to examples package

Merge pull request !6 from wswsamao/mybranch
This commit is contained in:
openeuler-ci-bot 2020-03-11 08:42:24 +08:00 committed by Gitee
commit ebeeb1d223

View File

@ -21,7 +21,7 @@
Name: boost Name: boost
Version: 1.66.0 Version: 1.66.0
Release: 16 Release: 17
Summary: The free peer-reviewed portable C++ source libraries Summary: The free peer-reviewed portable C++ source libraries
License: Boost and MIT and Python License: Boost and MIT and Python
URL: http://www.boost.org 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. functionality packed behind an easy to use iterator interface.
%package devel %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: boost%{?_isa} = %{version}-%{release}
Requires: libicu-devel%{?_isa} Requires: libicu-devel%{?_isa}
%if %{with quadmath} %if %{with quadmath}
@ -450,12 +450,10 @@ Requires: libquadmath-devel%{?_isa}
%endif %endif
Provides: boost-static Provides: boost-static
Obsoletes: boost-static Obsoletes: boost-static
Provides: boost-examples
Obsoletes: boost-examples
%description devel %description devel
Headers shared object symbolic links for the Boost C++ libraries and static 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 %package help
Summary: HTML documentation for the Boost C++ libraries 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 libraries. The documentation provides the same content as that on the Boost
web page (http://www.boost.org/doc/libs/%{version_enc}). 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} %if 0%{with openmpi}
%package openmpi %package openmpi
Summary: Run-time component of Boost.MPI library Summary: Run-time component of Boost.MPI library
@ -1120,6 +1126,8 @@ fi
%if 0%{with openmpi} %if 0%{with openmpi}
%{_libdir}/openmpi/lib/*.a %{_libdir}/openmpi/lib/*.a
%endif %endif
%files examples
%doc %{boost_examplesdir}/* %doc %{boost_examplesdir}/*
%if 0%{with openmpi} %if 0%{with openmpi}
@ -1205,6 +1213,12 @@ fi
%{_mandir}/man1/bjam.1* %{_mandir}/man1/bjam.1*
%changelog %changelog
* Mon May 10 2020 Wang Shuo<wangshuo47@huawei.com> - 1.66.0-17
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: move examples files to examples package
* Mon Oct 28 2019 caomeng <caomeng5@huawei.com> - 1.66.0-16 * Mon Oct 28 2019 caomeng <caomeng5@huawei.com> - 1.66.0-16
- Type:NA - Type:NA
- ID:NA - ID:NA