From cd977ce8fdd6468cd4ac1ba03407eb512e90cfddd8eab36394bd45a6203815b2 Mon Sep 17 00:00:00 2001 From: Richard Brown Date: Mon, 4 Jul 2022 09:13:50 +0000 Subject: [PATCH] Accepting request 986507 from home:elimat:branches:devel:microos - Update to version 20220623.0 What's New: * Added absl::AnyInvocable, a move-only function type. * Added absl::CordBuffer, a type for buffering data for eventual inclusion an absl::Cord, which is useful for writing zero-copy code. * Added support for command-line flags of type absl::optional. Breaking Changes: * CMake builds now use the flag ABSL_BUILD_TESTING (default: OFF) to control whether or not unit tests are built. * The ABSL_DEPRECATED macro now works with the GCC compiler. GCC users that are experiencing new warnings can use -Wno-deprecated-declatations silence the warnings or use -Wno-error=deprecated-declarations to see warnings but not fail the build. * ABSL_CONST_INIT uses the C++20 keyword constinit when available. Some compilers are more strict about where this keyword must appear compared to the pre-C++20 implementation. * Bazel builds now depend on the bazelbuild/bazel-skylib repository. See Abseil's WORKSPACE file for an example of how to add this dependency. Other: * This will be the last release to support C++11. Future releases will require at least C++14. - run spec-cleaner OBS-URL: https://build.opensuse.org/request/show/986507 OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=6 --- abseil-cpp-20211102.0.tar.gz | 3 --- abseil-cpp-20220623.0.tar.gz | 3 +++ abseil-cpp.changes | 25 +++++++++++++++++++++++++ abseil-cpp.spec | 20 ++++++++++---------- 4 files changed, 38 insertions(+), 13 deletions(-) delete mode 100644 abseil-cpp-20211102.0.tar.gz create mode 100644 abseil-cpp-20220623.0.tar.gz diff --git a/abseil-cpp-20211102.0.tar.gz b/abseil-cpp-20211102.0.tar.gz deleted file mode 100644 index 71a6aaa..0000000 --- a/abseil-cpp-20211102.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4 -size 1884080 diff --git a/abseil-cpp-20220623.0.tar.gz b/abseil-cpp-20220623.0.tar.gz new file mode 100644 index 0000000..489fdaf --- /dev/null +++ b/abseil-cpp-20220623.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4208129b49006089ba1d6710845a45e31c59b0ab6bff9e5788a87f55c5abd602 +size 1957466 diff --git a/abseil-cpp.changes b/abseil-cpp.changes index 82f4927..699c075 100644 --- a/abseil-cpp.changes +++ b/abseil-cpp.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Sun Jul 3 21:25:15 UTC 2022 - Matthias Eliasson + +- Update to version 20220623.0 + What's New: + * Added absl::AnyInvocable, a move-only function type. + * Added absl::CordBuffer, a type for buffering data for eventual inclusion an + absl::Cord, which is useful for writing zero-copy code. + * Added support for command-line flags of type absl::optional. + Breaking Changes: + * CMake builds now use the flag ABSL_BUILD_TESTING (default: OFF) to control + whether or not unit tests are built. + * The ABSL_DEPRECATED macro now works with the GCC compiler. GCC users that + are experiencing new warnings can use -Wno-deprecated-declatations silence + the warnings or use -Wno-error=deprecated-declarations to see warnings but + not fail the build. + * ABSL_CONST_INIT uses the C++20 keyword constinit when available. Some + compilers are more strict about where this keyword must appear compared to + the pre-C++20 implementation. + * Bazel builds now depend on the bazelbuild/bazel-skylib repository. + See Abseil's WORKSPACE file for an example of how to add this dependency. + Other: + * This will be the last release to support C++11. Future releases will require at least C++14. +- run spec-cleaner + ------------------------------------------------------------------- Wed Jun 29 12:49:20 UTC 2022 - Fabian Vogt diff --git a/abseil-cpp.spec b/abseil-cpp.spec index 76b38a2..241cd68 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -16,24 +16,24 @@ # +%define lname libabsl2206_0_0 Name: abseil-cpp -%define lname libabsl2111_0_0 -Version: 20211102.0 +Version: 20220623.0 Release: 0 Summary: C++11 libraries which augment the C++ stdlib License: Apache-2.0 URL: https://abseil.io/ Source0: https://github.com/abseil/abseil-cpp/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz -# PATCH-FIX-OPENSUSE options-{old,cxx17}.patch Ensure ABI stability regardless of compiler options -%if %{suse_version} < 1550 -Patch0: options-old.patch -%else -Patch0: options-cxx17.patch -%endif BuildRequires: c++_compiler BuildRequires: cmake BuildRequires: fdupes BuildRequires: pkgconfig +# PATCH-FIX-OPENSUSE options-{old,cxx17}.patch Ensure ABI stability regardless of compiler options +%if 0%{?suse_version} < 1550 +Patch0: options-old.patch +%else +Patch0: options-cxx17.patch +%endif %description Abseil is a collection of C++11 libraries which augment the C++ @@ -42,8 +42,8 @@ and C++17 standards. %package -n %{lname} Summary: C++11 libraries which augment the C++ stdlib -Obsoletes: abseil-cpp < %version-%release -Provides: abseil-cpp = %version-%release +Obsoletes: abseil-cpp < %{version}-%{release} +Provides: abseil-cpp = %{version}-%{release} %description -n %{lname} Abseil is a collection of C++11 libraries which augment the C++