fix boost-example

This commit is contained in:
sdlzx 2022-03-02 09:09:56 +00:00 committed by Gitee
parent 4d319ba332
commit b23355954b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

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