!81 fix boost-example

From: @sdlzx 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
This commit is contained in:
openeuler-ci-bot 2022-03-02 09:28:59 +00:00 committed by Gitee
commit 882b9eaa42
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -2,7 +2,7 @@
Name: boost
Version: 1.78.0
Release: 10
Release: 11
Summary: The free peer-reviewed portable C++ source libraries
License: Boost Software License 1.0
URL: http://www.boost.org
@ -299,7 +299,7 @@ as that on the Boost web page (http://www.boost.org/doc/libs/%{version_enc}).
mkdir boost-doc boost-example
find libs doc more -regex '.*\.\(html?\|css\|png\|gif\)' -exec cp {} boost-doc --parents \;
cp index.html boost.png rst.css boost.css boost-doc
find . -name example -exec cp {} boost-example --parents -r \;
find libs -name example -exec cp {} boost-example --parents -r \;
%files
%license LICENSE_1_0.txt
@ -438,6 +438,9 @@ find . -name example -exec cp {} boost-example --parents -r \;
%{_libdir}/*.a
%changelog
* Wed Mar 02 2022 Liu Zixian <liuzixian4@huawei.com> - 1.78.0-11
- fix boost-example, only libs/*/example should go into boost-example.
* Thu Feb 03 2022 Liu Zixian <liuzixian4@huawei.com> - 1.78.0-10
- disable auto_ptr which is warned by -Wdeprecated-declarations
- Replaced deprecated python API