diff --git a/baselibs.conf b/baselibs.conf index b0376ac..fec8b75 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,26 +1,26 @@ -libboost_atomic1_65_1 -libboost_container1_65_1 -libboost_context1_65_1 -libboost_coroutine1_65_1 -libboost_date_time1_65_1 -libboost_fiber1_65_1 -libboost_filesystem1_65_1 -libboost_graph1_65_1 -libboost_graph_parallel1_65_1 -libboost_iostreams1_65_1 -libboost_locale1_65_1 -libboost_math1_65_1 -libboost_mpi1_65_1 -libboost_test1_65_1 -libboost_program_options1_65_1 -libboost_python-py2_7-1_65_1 -libboost_python-py3-1_65_1 -libboost_random1_65_1 -libboost_serialization1_65_1 -libboost_signals1_65_1 -libboost_stacktrace1_65_1 -libboost_system1_65_1 -libboost_thread1_65_1 -libboost_type_erasure1_65_1 -libboost_wave1_65_1 -libboost_regex1_65_1 +libboost_atomic1_66_0 +libboost_container1_66_0 +libboost_context1_66_0 +libboost_coroutine1_66_0 +libboost_date_time1_66_0 +libboost_fiber1_66_0 +libboost_filesystem1_66_0 +libboost_graph1_66_0 +libboost_graph_parallel1_66_0 +libboost_iostreams1_66_0 +libboost_locale1_66_0 +libboost_math1_66_0 +libboost_mpi1_66_0 +libboost_test1_66_0 +libboost_program_options1_66_0 +libboost_python-py2_7-1_66_0 +libboost_python-py3-1_66_0 +libboost_random1_66_0 +libboost_serialization1_66_0 +libboost_signals1_66_0 +libboost_stacktrace1_66_0 +libboost_system1_66_0 +libboost_thread1_66_0 +libboost_type_erasure1_66_0 +libboost_wave1_66_0 +libboost_regex1_66_0 diff --git a/boost-rpmoptflags-only.patch b/boost-rpmoptflags-only.patch index 2cd3a03..00efd3e 100644 --- a/boost-rpmoptflags-only.patch +++ b/boost-rpmoptflags-only.patch @@ -1,33 +1,7 @@ -diff -up ./tools/build/src/tools/gcc.jam~ ./tools/build/src/tools/gcc.jam ---- ./tools/build/src/tools/gcc.jam~ 2015-02-09 15:01:04.850331626 +0100 -+++ ./tools/build/src/tools/gcc.jam 2015-02-09 15:44:29.122307134 +0100 -@@ -366,17 +366,17 @@ generators.override gcc.compile.c++.pch - toolset.flags gcc.compile PCH_FILE on : ; - - # Declare flags and action for compilation. --toolset.flags gcc.compile OPTIONS off : -O0 ; --toolset.flags gcc.compile OPTIONS speed : -O3 ; --toolset.flags gcc.compile OPTIONS space : -Os ; -+toolset.flags gcc.compile OPTIONS off : ; -+toolset.flags gcc.compile OPTIONS speed : ; -+toolset.flags gcc.compile OPTIONS space : ; - --toolset.flags gcc.compile OPTIONS off : -fno-inline ; --toolset.flags gcc.compile OPTIONS on : -Wno-inline ; --toolset.flags gcc.compile OPTIONS full : -finline-functions -Wno-inline ; -+toolset.flags gcc.compile OPTIONS off : ; -+toolset.flags gcc.compile OPTIONS on : ; -+toolset.flags gcc.compile OPTIONS full : ; - --toolset.flags gcc.compile OPTIONS off : -w ; --toolset.flags gcc.compile OPTIONS on : -Wall ; --toolset.flags gcc.compile OPTIONS all : -Wall -pedantic ; -+toolset.flags gcc.compile OPTIONS off : ; -+toolset.flags gcc.compile OPTIONS on : ; -+toolset.flags gcc.compile OPTIONS all : ; - toolset.flags gcc.compile OPTIONS on : -Werror ; - - toolset.flags gcc.compile OPTIONS on : -g ; +Index: tools/build/src/tools/gcc.jam +=================================================================== +--- tools/build/src/tools/gcc.jam.orig ++++ tools/build/src/tools/gcc.jam @@ -603,7 +603,7 @@ rule compile.fortran ( targets * : sourc actions compile.c++ bind PCH_FILE @@ -46,3 +20,32 @@ diff -up ./tools/build/src/tools/gcc.jam~ ./tools/build/src/tools/gcc.jam } actions compile.c.preprocess bind PCH_FILE +@@ -755,17 +755,17 @@ actions compile.c.pch + ### + + # Declare flags and action for compilation. +-toolset.flags gcc.compile OPTIONS off : -O0 ; +-toolset.flags gcc.compile OPTIONS speed : -O3 ; +-toolset.flags gcc.compile OPTIONS space : -Os ; +- +-toolset.flags gcc.compile OPTIONS off : -fno-inline ; +-toolset.flags gcc.compile OPTIONS on : -Wno-inline ; +-toolset.flags gcc.compile OPTIONS full : -finline-functions -Wno-inline ; +- +-toolset.flags gcc.compile OPTIONS off : -w ; +-toolset.flags gcc.compile OPTIONS on : -Wall ; +-toolset.flags gcc.compile OPTIONS all : -Wall -pedantic ; ++toolset.flags gcc.compile OPTIONS off : ; ++toolset.flags gcc.compile OPTIONS speed : ; ++toolset.flags gcc.compile OPTIONS space : ; ++ ++toolset.flags gcc.compile OPTIONS off : ; ++toolset.flags gcc.compile OPTIONS on : ; ++toolset.flags gcc.compile OPTIONS full : ; ++ ++toolset.flags gcc.compile OPTIONS off : ; ++toolset.flags gcc.compile OPTIONS on : ; ++toolset.flags gcc.compile OPTIONS all : ; + toolset.flags gcc.compile OPTIONS on : -Werror ; + + toolset.flags gcc.compile OPTIONS on : -g ; diff --git a/boost.changes b/boost.changes index e3b5994..3d67da1 100644 --- a/boost.changes +++ b/boost.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Mon Dec 18 16:26:46 CET 2017 - adam.majer@suse.de + +- Update to version 1.66.0 + + Beast: new portable HTTP, WebSocket and network operations + using Boost.Asio. Header-only library. + + Callable Traits: new library and successor to + Boost.FunctionTypes. Header-only library. + + Mp11: new metaprogramming library + + Asio: + * implemented interface changes to reflect the Networking TS + (N4656) + * functions and classes that have been superseded by + Networking TS functionality have been deprecated. + * added support for customized handler tracking + * removed previously deprecated functions + + Atomic: improved compatibility with GCC 7. 128-bit operations + on x86_64 no longer require linking with compiled library. + + DateTime: Fixed an integral overflow that could cause incorrect + results when adding or subtracting many years from a date. + + Format: New format specifiers added and volatile arguments + can not be safely used with operator% + + Fusion: + * fix compile error with std::array + * remove circular preprocessor include + + PolyCollection: backported to GCC 4.8 and 4.9 with some + limitations + + Uuid: added RTF-4122 namespaces in boost::uuids::ns + + for complete changelog, see + http://www.boost.org/users/history/version_1_66_0.html + +- refreshed patches: boost-rpmoptflags-only.patch + ------------------------------------------------------------------- Wed Nov 29 09:45:57 UTC 2017 - adam.majer@suse.de diff --git a/boost.spec b/boost.spec index d84bc63..502aac2 100644 --- a/boost.spec +++ b/boost.spec @@ -16,11 +16,11 @@ # -%define ver 1.65.1 -%define file_version 1_65_1 +%define ver 1.66.0 +%define file_version 1_66_0 %define docs_version 1.56.0 %define short_version 1_56 -%define lib_appendix 1_65_1 +%define lib_appendix 1_66_0 %bcond_with build_docs %bcond_without package_pdf %bcond_without build_quickbook @@ -78,8 +78,8 @@ %endif Name: boost -%define package_name boost_1_65 -Version: 1.65.1 +%define package_name boost_1_66 +Version: 1.66.0 Release: 0 Summary: Boost C++ Libraries License: BSL-1.0 @@ -1401,20 +1401,12 @@ objdump -Ctj .text -Ctj .text %{buildroot}%{_libdir}/libboost_exception.so | \ rm %{buildroot}%{_libdir}/libboost_exception.so rm %{buildroot}%{_libdir}/libboost_exception.so.%{version} -# Remove cruft -# FIXME: these shouldn't be built in the first place -rm %{buildroot}%{_libdir}/libboost_chrono.a -rm %{buildroot}%{_libdir}/libboost_system.a -rm %{buildroot}%{_libdir}/libboost_timer.a -rm %{buildroot}%{_libdir}/libboost_unit_test_framework.a - %fdupes %{buildroot}%{_includedir}/boost mkdir -p %{buildroot}%{my_docdir} cp LICENSE_1_0.txt %{buildroot}%{my_docdir} %else # ! build_base rm -r %{buildroot}%{_includedir}/boost -rm -f %{buildroot}%{_libdir}/libboost_serialization* -rm -f %{buildroot}%{_libdir}/libboost_system* +rm %{buildroot}%{_libdir}/libboost_serialization* rmdir --ignore-fail-on-non-empty %{buildroot}%{_libdir} %fdupes %{buildroot}%{my_docdir} %endif diff --git a/boost_1_65_1.tar.bz2 b/boost_1_65_1.tar.bz2 deleted file mode 100644 index e6e83a8..0000000 --- a/boost_1_65_1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9807a5d16566c57fd74fb522764e0b134a8bbe6b6e8967b83afefd30dcd3be81 -size 82594767 diff --git a/boost_1_66_0.tar.bz2 b/boost_1_66_0.tar.bz2 new file mode 100644 index 0000000..e494acc --- /dev/null +++ b/boost_1_66_0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5721818253e6a0989583192f96782c4a98eb6204965316df9f5ad75819225ca9 +size 85995778