diff --git a/abseil-cpp-20230802.1.tar.gz b/abseil-cpp-20230802.1.tar.gz deleted file mode 100644 index 6454fdb..0000000 --- a/abseil-cpp-20230802.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:987ce98f02eefbaf930d6e38ab16aa05737234d7afbab2d5c4ea7adbe50c28ed -size 2157158 diff --git a/abseil-cpp-20240116.1.tar.gz b/abseil-cpp-20240116.1.tar.gz new file mode 100644 index 0000000..c2d977d --- /dev/null +++ b/abseil-cpp-20240116.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3c743204df78366ad2eaf236d6631d83f6bc928d1705dd0000b872e53b73dc6a +size 2151012 diff --git a/abseil-cpp.changes b/abseil-cpp.changes index 8e11a3a..f4553b0 100644 --- a/abseil-cpp.changes +++ b/abseil-cpp.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Sun Mar 3 06:35:57 UTC 2024 - Andreas Stieger + +- update to 20240116.1: + * Add absl::NoDestructor to simplify defining static types + that do not need to be destructed upon program exit. + * Add configurable verbose logging (also known as VLOG). + * Added absl::Overload(), which returns a functor that provides + overloads based on the functors passed to it. Note that this + functionality requires C++17 or newer. + * Breaking Change: AbslHashValue() no longer accepts C-style + arrays as a parameter, caller need to wrap C-string literals in + absl::string_view. + * Breaking Change: absl::weak_equality and absl::strong_equality + have been removed. The corresponding std types were removed + before C++20 was finalized + ------------------------------------------------------------------- Fri Jan 19 15:53:47 UTC 2024 - Dirk Müller diff --git a/abseil-cpp.spec b/abseil-cpp.spec index 76509c6..59d7d48 100644 --- a/abseil-cpp.spec +++ b/abseil-cpp.spec @@ -16,15 +16,18 @@ # -%define lname libabsl2308_0_0 +%define lname libabsl2401_0_0 Name: abseil-cpp -Version: 20230802.1 +Version: 20240116.1 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 +Source0: https://github.com/abseil/abseil-cpp/releases/download/%{version}/%{name}-%{version}.tar.gz Source1: baselibs.conf +BuildRequires: cmake +BuildRequires: fdupes +BuildRequires: pkgconfig %if 0%{?suse_version} && 0%{?suse_version} < 1500 BuildRequires: gcc7 BuildRequires: gcc7-c++ @@ -32,9 +35,6 @@ BuildRequires: gcc7-c++ BuildRequires: gcc >= 7 BuildRequires: gcc-c++ >= 7 %endif -BuildRequires: cmake -BuildRequires: fdupes -BuildRequires: pkgconfig # PATCH-FIX-OPENSUSE options-{old,cxx17}.patch Ensure ABI stability regardless of compiler options %if 0%{?suse_version} && 0%{?suse_version} < 1550 Patch0: options-old.patch @@ -82,14 +82,14 @@ export CXX="g++-7" %cmake_install %fdupes %{buildroot}/%{_prefix} -%post -n %{lname} -p /sbin/ldconfig -%postun -n %{lname} -p /sbin/ldconfig +%ldconfig_scriptlets -n %{lname} %files -n %{lname} %license LICENSE %{_libdir}/libabsl_*.so.* %files devel +%license LICENSE %doc README.md %{_includedir}/absl %{_libdir}/cmake/absl diff --git a/baselibs.conf b/baselibs.conf index fb582b6..836d8cb 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libabsl2308_0_0 +libabsl2401_0_0 diff --git a/options-cxx17.patch b/options-cxx17.patch index 30c80f1..47550a9 100644 --- a/options-cxx17.patch +++ b/options-cxx17.patch @@ -3,10 +3,10 @@ to avoid mysterious linker errors when using wrong C++ version in compiler. This version of patch is for new systems (Tumbleweed) where Abseil is built with C++17 support. For more information, see “notice for package managers” in options.h -Index: abseil-cpp-20230125.2/absl/base/options.h +Index: abseil-cpp-20240116.1/absl/base/options.h =================================================================== ---- abseil-cpp-20230125.2.orig/absl/base/options.h -+++ abseil-cpp-20230125.2/absl/base/options.h +--- abseil-cpp-20240116.1.orig/absl/base/options.h ++++ abseil-cpp-20240116.1/absl/base/options.h @@ -94,7 +94,7 @@ // User code should not inspect this macro. To check in the preprocessor if // absl::any is a typedef of std::any, use the feature macro ABSL_USES_STD_ANY. @@ -41,5 +41,5 @@ Index: abseil-cpp-20230125.2/absl/base/options.h -#define ABSL_OPTION_USE_STD_VARIANT 2 +#define ABSL_OPTION_USE_STD_VARIANT 1 - - // ABSL_OPTION_USE_INLINE_NAMESPACE + // ABSL_OPTION_USE_STD_ORDERING + // diff --git a/options-old.patch b/options-old.patch index d3e3bd1..36d9ca8 100644 --- a/options-old.patch +++ b/options-old.patch @@ -3,9 +3,11 @@ to avoid mysterious linker errors when using wrong C++ version in compiler. This version of the patch is for old systems where the system compiler does not use C++17. For more information, see “notice for package managers” in options.h ---- a/absl/base/options.h 2021-11-03 16:26:14.000000000 +0100 -+++ b/absl/base/options.h 2022-06-28 22:49:52.830727200 +0200 -@@ -100,7 +100,7 @@ +Index: abseil-cpp-20240116.1/absl/base/options.h +=================================================================== +--- abseil-cpp-20240116.1.orig/absl/base/options.h ++++ abseil-cpp-20240116.1/absl/base/options.h +@@ -94,7 +94,7 @@ // User code should not inspect this macro. To check in the preprocessor if // absl::any is a typedef of std::any, use the feature macro ABSL_USES_STD_ANY. @@ -14,7 +16,7 @@ For more information, see “notice for package managers” in options.h // ABSL_OPTION_USE_STD_OPTIONAL -@@ -127,7 +127,7 @@ +@@ -121,7 +121,7 @@ // absl::optional is a typedef of std::optional, use the feature macro // ABSL_USES_STD_OPTIONAL. @@ -23,7 +25,7 @@ For more information, see “notice for package managers” in options.h // ABSL_OPTION_USE_STD_STRING_VIEW -@@ -154,7 +154,7 @@ +@@ -148,7 +148,7 @@ // absl::string_view is a typedef of std::string_view, use the feature macro // ABSL_USES_STD_STRING_VIEW. @@ -32,12 +34,12 @@ For more information, see “notice for package managers” in options.h // ABSL_OPTION_USE_STD_VARIANT // -@@ -180,7 +180,7 @@ +@@ -174,7 +174,7 @@ // absl::variant is a typedef of std::variant, use the feature macro // ABSL_USES_STD_VARIANT. -#define ABSL_OPTION_USE_STD_VARIANT 2 +#define ABSL_OPTION_USE_STD_VARIANT 0 - - // ABSL_OPTION_USE_INLINE_NAMESPACE + // ABSL_OPTION_USE_STD_ORDERING + //