boost: move examples files to examples package
This commit is contained in:
parent
c71b7a25d3
commit
7c2e3af63b
24
boost.spec
24
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<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
|
||||
- Type:NA
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user