SHA256
1
0
forked from pool/abseil-cpp

45 Commits

Author SHA256 Message Date
d34cd5e7e8 Accepting request 1327337 from devel:microos
abseil-cpp 20260107.0

OBS-URL: https://build.opensuse.org/request/show/1327337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=51
2026-01-21 13:10:50 +00:00
0993802d0d OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=66 2026-01-15 08:17:55 +00:00
6fa6568d99 OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=65 2026-01-15 07:46:54 +00:00
002a1232a4 OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=64 2026-01-15 07:40:50 +00:00
223a5b417b abseil-cpp 20260107.0
OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=63
2026-01-15 07:00:32 +00:00
a0ceeed35d Accepting request 1307930 from devel:microos
abseil-cpp 20250814.1

OBS-URL: https://build.opensuse.org/request/show/1307930
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=50
2025-09-30 15:39:50 +00:00
4fe23dbc1a Accepting request 1306596 from home:AndreasStieger:branches:devel:microos
abseil-cpp 20250814.1

OBS-URL: https://build.opensuse.org/request/show/1306596
OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=61
2025-09-24 03:50:44 +00:00
4e38739947 Accepting request 1300492 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1300492
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=49
2025-08-21 14:57:30 +00:00
7a46bb8f6f backfill CVE-2025-0838 boo#1237543
OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=59
2025-08-20 11:29:57 +00:00
8b6fc42872 Accepting request 1300234 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1300234
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=48
2025-08-20 11:25:11 +00:00
4f985c77e6 abseil-cpp 20250814.0
OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=57
2025-08-19 08:15:39 +00:00
f3d5ef3f97 Accepting request 1287037 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1287037
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=47
2025-06-23 12:50:39 +00:00
c69d463b93 Accepting request 1286738 from home:AndreasStieger:branches:devel:microos
abseil-cpp 20250512.1

OBS-URL: https://build.opensuse.org/request/show/1286738
OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=55
2025-06-20 05:09:45 +00:00
daa84f9654 Accepting request 1280742 from home:AndreasStieger:branches:devel:microos
fixup

OBS-URL: https://build.opensuse.org/request/show/1280742
OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=54
2025-06-04 08:06:50 +00:00
aec6f87c70 Accepting request 1279911 from home:AndreasStieger:factory
abseil-cpp 20250512.0

Needs changes to protobuf, see source project

OBS-URL: https://build.opensuse.org/request/show/1279911
OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=53
2025-05-28 05:13:07 +00:00
4213a1ff6e Accepting request 1274319 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1274319
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=46
2025-05-06 14:38:45 +00:00
a890fe5f6c add upstream to avoid gcc15 deprecation warnings that result in build failure of dependant packages
OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=51
2025-05-05 05:54:33 +00:00
d850706f4e Accepting request 1255599 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1255599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=45
2025-03-26 20:16:24 +00:00
Richard Brown
33b01ad463 Accepting request 1255337 from home:AndreasStieger:branches:devel:microos
abseil-cpp 20250127.1 boo#1236438

OBS-URL: https://build.opensuse.org/request/show/1255337
OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=49
2025-03-24 11:45:32 +00:00
33e55feeee Accepting request 1246551 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1246551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=44
2025-02-18 18:08:54 +00:00
b89b52cd51 - do not obsolete the shared libary package
OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=47
2025-02-18 06:00:37 +00:00
5addd698c3 Accepting request 1245084 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1245084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=43
2025-02-11 20:20:11 +00:00
Richard Brown
2dd36bd49e abseil-cpp 20250127.0
OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=45
2025-02-11 11:59:07 +00:00
bad8cc6a79 Accepting request 1240386 from devel:microos
- update to 20240722.1 (boo#1236438)
  * potential integer overflow in hash container create/resize

OBS-URL: https://build.opensuse.org/request/show/1240386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=42
2025-01-28 13:58:10 +00:00
9c8ee554c4 abseil-cpp 20240722.1 (boo#1236438)
OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=43
2025-01-26 19:02:09 +00:00
0652d1cac6 Accepting request 1237987 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1237987
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=41
2025-01-16 17:31:13 +00:00
4ed05860d0 Extend options-cxx17.patch and options-old.patch
to avoid race-condition (boo#1235867)

OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=41
2025-01-15 07:31:14 +00:00
40c237a55f Accepting request 1227605 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1227605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=40
2024-12-02 15:57:57 +00:00
2417e010de abseil-cpp 20240722.0
OBS-URL: https://build.opensuse.org/package/show/devel:microos/abseil-cpp?expand=0&rev=39
2024-12-01 15:50:20 +00:00
d5e1b15008 Accepting request 1186137 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1186137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=39
2024-07-09 18:02:47 +00:00
b91d0533fb Accepting request 1172116 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1172116
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=38
2024-05-07 16:02:14 +00:00
464d809d10 Accepting request 1168438 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1168438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=37
2024-04-18 20:10:30 +00:00
3144523529 Accepting request 1159027 from devel:microos
fixup to make the with_gcc more elegant

OBS-URL: https://build.opensuse.org/request/show/1159027
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=36
2024-03-20 20:10:31 +00:00
2db0eb977b Accepting request 1154589 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1154589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=35
2024-03-05 17:46:57 +00:00
5fd87378c5 Accepting request 1145394 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1145394
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=34
2024-02-09 22:52:43 +00:00
6ee5a1ec7f Accepting request 1140366 from devel:microos
- fix build for non-SUSE distributions

      The flags library now provides suggestions for the closest
  * minor warning fix
    hexadecimal strings
- Update to version 20190808 (forwarded request 1139988 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/1140366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=33
2024-01-22 19:30:34 +00:00
5a9ab8649a Accepting request 1116453 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1116453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=32
2023-10-11 21:53:43 +00:00
27e7fb6c02 Accepting request 1109442 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1109442
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=31
2023-09-07 19:12:16 +00:00
154731d95f Accepting request 1105866 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1105866
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=30
2023-08-30 08:17:57 +00:00
b9898c0784 Accepting request 1095946 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1095946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=29
2023-06-30 17:58:23 +00:00
fd274051b5 Accepting request 1089208 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1089208
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=28
2023-05-28 17:21:27 +00:00
31705be39e Accepting request 1082518 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1082518
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=27
2023-04-25 14:54:08 +00:00
2a69806200 Accepting request 1006366 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/1006366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=26
2022-10-01 15:41:43 +00:00
2b50516341 Accepting request 988573 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/988573
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=25
2022-07-13 12:31:49 +00:00
11ce47a3ec Accepting request 986572 from devel:microos
OBS-URL: https://build.opensuse.org/request/show/986572
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/abseil-cpp?expand=0&rev=24
2022-07-05 10:27:05 +00:00
10 changed files with 317 additions and 280 deletions

View File

@@ -1,26 +0,0 @@
From 779a3565ac6c5b69dd1ab9183e500a27633117d5 Mon Sep 17 00:00:00 2001
From: Derek Mauro <dmauro@google.com>
Date: Tue, 30 Jan 2024 10:13:25 -0800
Subject: [PATCH] Avoid export of testonly target absl::test_allocator in CMake
builds
Closes #1536
PiperOrigin-RevId: 602764437
Change-Id: Ia5c20a3874262a2ddb8797f608af17d7e86dd6d6
---
absl/container/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/absl/container/CMakeLists.txt b/absl/container/CMakeLists.txt
index 449a2cad17e..ee9ca9c3c4a 100644
--- a/absl/container/CMakeLists.txt
+++ b/absl/container/CMakeLists.txt
@@ -213,6 +213,7 @@ absl_cc_library(
DEPS
absl::config
GTest::gmock
+ TESTONLY
)
absl_cc_test(

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:733726b8c3a6d39a4120d7e45ea8b41a434cdacde401cba500f14236c49b39dc
size 2151288

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c124408da902be896a2f368042729655709db5e3004ec99f57e3e14439bc1b2
size 2301048

View File

@@ -1,3 +1,166 @@
-------------------------------------------------------------------
Thu Jan 15 07:46:13 UTC 2026 - Fridrich Strba <fstrba@suse.com>
- Added patch:
* test_instance_tracker.patch
+ do not accidentally depend on an internal test library
-------------------------------------------------------------------
Sat Jan 10 13:00:15 UTC 2026 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 20260107.0 (Abseil LTS branch, January 2026):
* absl::StringResizeAndOverwrite(): A new function that acts as a
polyfill for C++23's std::basic_string::resize_and_overwrite.
* absl::chunked_queue: A new container optimized for use as a
FIFO (First-In, First-Out) queue.
* absl::linked_hash_map and absl::linked_hash_set: New hash
containers that maintain iteration order matching the
insertion order.
* absl::down_cast: This function provides a safer way to
perform downcasts in a polymorphic type hierarchy.
* Breaking change: Mutex Deprecations: Legacy Mutex methods
and MutexLock pointer constructors have been marked as
deprecated. Users should migrate to the recommended APIs.
* Breaking change: The polyfill type absl::string_view is now an
alias for std::string_view in all builds.
-------------------------------------------------------------------
Mon Sep 22 19:26:07 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 20250814.1 (Abseil LTS branch, Aug 2025, Patch 1):
* Fix CHECK_<OP> ambiguous overload for operator<< in older
versions of GCC
* Fix CHECK_<OP> compilation failures on older versions of GCC
which eagerly tries to instantiate std::underlying_type for
non-enum types
* Add missing rules_cc loads
-------------------------------------------------------------------
Mon Aug 18 20:33:28 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 20250814.0:
* absl::Mutex now contains lower-case method names like lock()
and shared_lock() to align with standard C++ mutex methods.
This allows absl::Mutex to be used with std::scoped_lock and
friends. The old names are still present but may be removed in a
future release.
* The RAII Mutex-locker types like absl::MutexLock,
absl::ReaderMutexLock, and friends now accept references to
absl::Mutex. The pointer-accepting constructors are now
deprecated, and may be removed in a future release.
* Breaking change: Nullability template types, which were
deprecated in the May 2025 release, have been removed.
* Breaking change: absl::string_view(nullptr), which is undefined
behavior according to the C++ standard, now triggers an assert
failure. Note that unless you changed absl/base/options.h,
absl::string_view is an alias for std::string_view, so by
default you will be inheriting the behavior of your standard
library instead of using the Abseil implementation.
* Breaking change: Abseil's hash tables now require a hash
function that has a return type with size >= sizeof(size_t).
- added libs: libabsl_hashtable_profiler, libabsl_log_entry,
libabsl_profile_builder
- dropped libs: libabsl_low_level_hash
-------------------------------------------------------------------
Wed Jun 18 15:35:54 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 20250512.1:
* Fix conditional constexpr in ToInt64{Nano|Micro|Milli}seconds
under GCC7 and GCC8 using an else clause as a workaround
* Fix -Wundef warning
-------------------------------------------------------------------
Sun May 25 11:21:56 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 20250512.0:
* The polyfill types absl::any, absl::optional, and absl::variant
are now aliases for std::any, std::optional, and std::variant
in all builds.
* Added absl::FastTypeId<Type>(), which evaluates at compile-time
to a unique id for the passed-in type.
* Added absl::endian and absl::byteswap polyfills
* Nullability template types are deprecated and will be removed
in a future release. The macro-style annotations (absl_nonnull,
absl_nullable) should be used instead
- drop abseil-ciso646.patch, included upstream
- Now requires C++17. Switch to gcc12 on Leap 15.x and drop
options-old.patch and cmake.patch there.
- It seems futile to keep the separation between the lite and the
library package clean, not even internally or for the intended
purpose of aligning with protobuf. Split into single packages per
library and automate.
-------------------------------------------------------------------
Fri May 2 16:08:03 UTC 2025 - Friedrich Haubensak <hsk17@mail.de>
- add abseil-ciso646.patch from upstream to avoid gcc15 deprecation
warnings that result in build failure of dependant packages
-------------------------------------------------------------------
Sat Mar 22 22:02:43 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- Update to 20250127.1:
* Improved Bazel support
* Added ABSL_ATTRIBUTE_VIEW and ABSL_ATTRIBUTE_OWNER for
diagnosing certain lifetime issues
* Many performance improvements
* potential integer overflow in hash container create/resize
fixed again - boo#1236438
* CVE-2025-0838: heap buffer overflow in sized constructors,
reserve(), and rehash() methods of absl:{flat,node}hash{set,map}
boo#1237543
-------------------------------------------------------------------
Mon Feb 17 18:35:03 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
- do not obsolete the shared libary package
-------------------------------------------------------------------
Sat Feb 8 10:07:18 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 20250127.0
* Added support for Bazel 8.0
* Added support for Bazel Platforms for better portability
* Added ABSL_ATTRIBUTE_VIEW and ABSL_ATTRIBUTE_OWNER for
diagnosing certain lifetime issues
* Many performance improvements
-------------------------------------------------------------------
Sun Jan 26 18:31:46 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 20240722.1 (boo#1236438)
* potential integer overflow in hash container create/resize
-------------------------------------------------------------------
Wed Jan 15 02:02:17 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- Extend options-cxx17.patch and options-old.patch
to avoid race-condition (boo#1235867)
-------------------------------------------------------------------
Sat Nov 16 22:20:54 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 20240722.0:
* Add GoogleTest matchers for absl::Status. These matchers make
it easier to write unit tests for code that uses absl::Status.
* absl::AlphaNum no longer allows brace-initialization
* The deprecated symbol absl::kuint128max has been removed and
should be replaced with absl::Uint128Max().
* absl::aligned_storage_t, which was a polyfill consistent with
std::aligned_storage_t, has been removed.
std::aligned_storage_t is deprecated in C++23
* absl::StrJoin now has a absl::string_view overload. This
allows for passing a collection of string-like objects without
having to convert everything to the same type first. However,
this may be a breaking change for users passing an explicit
template argument to absl::StrJoin. In this case, simply remove
the explicit template parameter.
* vlog_is_on.h is now a public header and is no longer included
from log.h. To use VLOG_IS_ON(), absl/log/vlog_is_on.h must be
included.
- drop abseil-cmake-gtest-testonly.patch
-------------------------------------------------------------------
Fri Jul 5 21:27:25 UTC 2024 - Christoph G <foss@grueninger.de>

View File

@@ -1,7 +1,8 @@
#
# spec file for package abseil-cpp
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
# Copyright (c) 2026 Andreas Stieger <Andreas.Stieger@gmx.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,79 +17,157 @@
#
%global soversion so.2401.0.0
%global lname_suffix 2401_0_0
%if 0%{?gcc_version} < 7
%global with_gcc 7
%endif
%global soversion so.2601.0.0
%global lname_suffix 2601_0_0
Name: abseil-cpp
Version: 20240116.2
Version: 20260107.0
Release: 0
Summary: C++11 libraries which augment the C++ stdlib
Summary: C++ libraries which augment the C++ stdlib
License: Apache-2.0
URL: https://abseil.io/
Source0: https://github.com/abseil/%{name}/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source0: https://github.com/abseil/abseil-cpp/releases/download/%{version}/%{name}-%{version}.tar.gz
Source1: baselibs.conf
Patch0: options-cxx17.patch
Patch1: test_instance_tracker.patch
BuildRequires: c++_compiler
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc%{?with_gcc}
BuildRequires: gcc%{?with_gcc}-c++
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
Patch1: cmake.patch
%else
Patch0: options-cxx17.patch
%if 0%{?suse_version} < 1600
BuildRequires: gcc12-c++
%endif
# upstream patch to prevent GTest error with CMake 3.30
Patch2: abseil-cmake-gtest-testonly.patch
%description
Abseil is a collection of C++11 libraries which augment the C++
standard library. It also provides features incorporated into C++14
and C++17 standards.
Abseil is a collection of C++ libraries which augment the C++ standard
library. It also provides features incorporated into later C++ standards.
%package -n libabsl_lite_%{lname_suffix}
Summary: C++11 libraries which augment the C++ stdlib - lite
Obsoletes: abseil-cpp < %{version}-%{release}
Provides: abseil-cpp = %{version}-%{release}
%description -n libabsl_lite_%{lname_suffix}
Abseil is a collection of C++11 libraries which augment the C++
standard library. It also provides features incorporated into C++14
and C++17 standards.
This package provides the subset needed by protobuf-lite.
%package -n libabsl_%{lname_suffix}
Summary: C++11 libraries which augment the C++ stdlib - others
Obsoletes: abseil-cpp < %{version}-%{release}
Obsoletes: libabsl2401_0_0 < %{version}-%{release}
Provides: abseil-cpp = %{version}-%{release}
%description -n libabsl_%{lname_suffix}
Abseil is a collection of C++11 libraries which augment the C++
standard library. It also provides features incorporated into C++14
and C++17 standards.
%define abseil_libs \
%abseil_libpackage -l libabsl_base \
%abseil_libpackage -l libabsl_borrowed_fixup_buffer \
%abseil_libpackage -l libabsl_city \
%abseil_libpackage -l libabsl_civil_time \
%abseil_libpackage -l libabsl_cord \
%abseil_libpackage -l libabsl_cord_internal \
%abseil_libpackage -l libabsl_cordz_functions \
%abseil_libpackage -l libabsl_cordz_handle \
%abseil_libpackage -l libabsl_cordz_info \
%abseil_libpackage -l libabsl_cordz_sample_token \
%abseil_libpackage -l libabsl_crc32c \
%abseil_libpackage -l libabsl_crc_cord_state \
%abseil_libpackage -l libabsl_crc_cpu_detect \
%abseil_libpackage -l libabsl_crc_internal \
%abseil_libpackage -l libabsl_debugging_internal \
%abseil_libpackage -l libabsl_decode_rust_punycode \
%abseil_libpackage -l libabsl_demangle_internal \
%abseil_libpackage -l libabsl_demangle_rust \
%abseil_libpackage -l libabsl_die_if_null \
%abseil_libpackage -l libabsl_examine_stack \
%abseil_libpackage -l libabsl_exponential_biased \
%abseil_libpackage -l libabsl_failure_signal_handler \
%abseil_libpackage -l libabsl_flags_commandlineflag \
%abseil_libpackage -l libabsl_flags_commandlineflag_internal \
%abseil_libpackage -l libabsl_flags_config \
%abseil_libpackage -l libabsl_flags_internal \
%abseil_libpackage -l libabsl_flags_marshalling \
%abseil_libpackage -l libabsl_flags_parse \
%abseil_libpackage -l libabsl_flags_private_handle_accessor \
%abseil_libpackage -l libabsl_flags_program_name \
%abseil_libpackage -l libabsl_flags_reflection \
%abseil_libpackage -l libabsl_flags_usage \
%abseil_libpackage -l libabsl_flags_usage_internal \
%abseil_libpackage -l libabsl_generic_printer_internal \
%abseil_libpackage -l libabsl_graphcycles_internal \
%abseil_libpackage -l libabsl_hash \
%abseil_libpackage -l libabsl_hashtable_profiler \
%abseil_libpackage -l libabsl_hashtablez_sampler \
%abseil_libpackage -l libabsl_int128 -d \-\
%abseil_libpackage -l libabsl_kernel_timeout_internal \
%abseil_libpackage -l libabsl_leak_check \
%abseil_libpackage -l libabsl_log_entry \
%abseil_libpackage -l libabsl_log_flags \
%abseil_libpackage -l libabsl_log_globals \
%abseil_libpackage -l libabsl_log_initialize \
%abseil_libpackage -l libabsl_log_internal_check_op \
%abseil_libpackage -l libabsl_log_internal_conditions \
%abseil_libpackage -l libabsl_log_internal_fnmatch \
%abseil_libpackage -l libabsl_log_internal_format \
%abseil_libpackage -l libabsl_log_internal_globals \
%abseil_libpackage -l libabsl_log_internal_log_sink_set \
%abseil_libpackage -l libabsl_log_internal_message \
%abseil_libpackage -l libabsl_log_internal_nullguard \
%abseil_libpackage -l libabsl_log_internal_proto \
%abseil_libpackage -l libabsl_log_internal_structured_proto \
%abseil_libpackage -l libabsl_log_severity \
%abseil_libpackage -l libabsl_log_sink \
%abseil_libpackage -l libabsl_malloc_internal \
%abseil_libpackage -l libabsl_periodic_sampler \
%abseil_libpackage -l libabsl_poison \
%abseil_libpackage -l libabsl_profile_builder \
%abseil_libpackage -l libabsl_random_distributions \
%abseil_libpackage -l libabsl_random_internal_distribution_test_util \
%abseil_libpackage -l libabsl_random_internal_entropy_pool \
%abseil_libpackage -l libabsl_random_internal_platform \
%abseil_libpackage -l libabsl_random_internal_randen \
%abseil_libpackage -l libabsl_random_internal_randen_hwaes \
%abseil_libpackage -l libabsl_random_internal_randen_hwaes_impl \
%abseil_libpackage -l libabsl_random_internal_randen_slow \
%abseil_libpackage -l libabsl_random_internal_seed_material \
%abseil_libpackage -l libabsl_random_seed_gen_exception \
%abseil_libpackage -l libabsl_random_seed_sequences \
%abseil_libpackage -l libabsl_raw_hash_set \
%abseil_libpackage -l libabsl_raw_logging_internal \
%abseil_libpackage -l libabsl_scoped_set_env \
%abseil_libpackage -l libabsl_spinlock_wait \
%abseil_libpackage -l libabsl_stacktrace \
%abseil_libpackage -l libabsl_status \
%abseil_libpackage -l libabsl_statusor \
%abseil_libpackage -l libabsl_strerror \
%abseil_libpackage -l libabsl_str_format_internal \
%abseil_libpackage -l libabsl_strings \
%abseil_libpackage -l libabsl_strings_internal \
%abseil_libpackage -l libabsl_symbolize \
%abseil_libpackage -l libabsl_synchronization \
%abseil_libpackage -l libabsl_throw_delegate \
%abseil_libpackage -l libabsl_time \
%abseil_libpackage -l libabsl_time_zone \
%abseil_libpackage -l libabsl_tracing_internal \
%abseil_libpackage -l libabsl_utf8_for_code_point \
%abseil_libpackage -l libabsl_vlog_config_internal \
%{nil}
# generator macro for -devel
%define abseil_libpackage(l:d:) Requires: %{-l*}%{-d*}%{lname_suffix} = %{version}
%package devel
Summary: Header files for Abseil
Requires: libabsl_%{lname_suffix}
Requires: libabsl_lite_%{lname_suffix}
%{abseil_libs}
%description devel
Abseil is a collection of C++11 libraries which augment the C++
standard library.
Abseil is a collection of C++ libraries which augment the C++ standard
library.
This package contains headers and build system files for it.
%define abseil_libpackage(l:d:) %package -n %{-l*}%{-d*}%{lname_suffix} \
Summary: Abseil library lib%{-l*} \
%description -n %{-l*}%{-d*}%{lname_suffix} \
This package contains the %{-l*} library for abseil. \
%files -n %{-l*}%{-d*}%{lname_suffix} \
%%license LICENSE \
%{_libdir}/%{-l*}.%{soversion} \
%ldconfig_scriptlets -n %{-l*}%{-d*}%{lname_suffix} \
%{nil}
%{abseil_libs}
%prep
%autosetup -p1
# create baselibs.conf
echo -n "" > %{SOURCE1}
%define abseil_libpackage(l:d:) echo "%{-l*}%{-d*}%{lname_suffix}" >> %{SOURCE1}
%{abseil_libs}
%build
%if 0%{?with_gcc}
export CC="gcc-%{with_gcc}"
export CXX="g++-%{with_gcc}"
%if 0%{?suse_version} < 1600
export CXX=g++-12
%endif
%cmake
%cmake_build
@@ -100,111 +179,6 @@ export CXX="g++-%{with_gcc}"
%check
%ctest
# SLE12 doed not define this macro
%if %{undefined ldconfig_scriptlets}
%post -n libabsl_lite_%{lname_suffix} -p /sbin/ldconfig
%postun -n libabsl_lite_%{lname_suffix} -p /sbin/ldconfig
%post -n libabsl_%{lname_suffix} -p /sbin/ldconfig
%postun -n libabsl_%{lname_suffix} -p /sbin/ldconfig
%else
%ldconfig_scriptlets -n libabsl_lite_%{lname_suffix}
%ldconfig_scriptlets -n libabsl_%{lname_suffix}
%endif
%files -n libabsl_lite_%{lname_suffix}
%license LICENSE
%{_libdir}/libabsl_base.%{soversion}
%{_libdir}/libabsl_city.%{soversion}
%{_libdir}/libabsl_cord.%{soversion}
%{_libdir}/libabsl_cord_internal.%{soversion}
%{_libdir}/libabsl_cordz_functions.%{soversion}
%{_libdir}/libabsl_cordz_handle.%{soversion}
%{_libdir}/libabsl_cordz_info.%{soversion}
%{_libdir}/libabsl_crc32c.%{soversion}
%{_libdir}/libabsl_crc_cord_state.%{soversion}
%{_libdir}/libabsl_crc_internal.%{soversion}
%{_libdir}/libabsl_debugging_internal.%{soversion}
%{_libdir}/libabsl_demangle_internal.%{soversion}
%{_libdir}/libabsl_examine_stack.%{soversion}
%{_libdir}/libabsl_exponential_biased.%{soversion}
%{_libdir}/libabsl_hash.%{soversion}
%{_libdir}/libabsl_int128.%{soversion}
%{_libdir}/libabsl_kernel_timeout_internal.%{soversion}
%{_libdir}/libabsl_log_globals.%{soversion}
%{_libdir}/libabsl_log_internal_check_op.%{soversion}
%{_libdir}/libabsl_log_internal_format.%{soversion}
%{_libdir}/libabsl_log_internal_globals.%{soversion}
%{_libdir}/libabsl_log_internal_log_sink_set.%{soversion}
%{_libdir}/libabsl_log_internal_message.%{soversion}
%{_libdir}/libabsl_log_internal_nullguard.%{soversion}
%{_libdir}/libabsl_log_internal_proto.%{soversion}
%{_libdir}/libabsl_log_sink.%{soversion}
%{_libdir}/libabsl_low_level_hash.%{soversion}
%{_libdir}/libabsl_malloc_internal.%{soversion}
%{_libdir}/libabsl_raw_hash_set.%{soversion}
%{_libdir}/libabsl_raw_logging_internal.%{soversion}
%{_libdir}/libabsl_spinlock_wait.%{soversion}
%{_libdir}/libabsl_stacktrace.%{soversion}
%{_libdir}/libabsl_str_format_internal.%{soversion}
%{_libdir}/libabsl_strerror.%{soversion}
%{_libdir}/libabsl_string_view.%{soversion}
%{_libdir}/libabsl_strings.%{soversion}
%{_libdir}/libabsl_strings_internal.%{soversion}
%{_libdir}/libabsl_symbolize.%{soversion}
%{_libdir}/libabsl_synchronization.%{soversion}
%{_libdir}/libabsl_throw_delegate.%{soversion}
%{_libdir}/libabsl_time.%{soversion}
%{_libdir}/libabsl_time_zone.%{soversion}
%files -n libabsl_%{lname_suffix}
%license LICENSE
%{_libdir}/libabsl_bad_any_cast_impl.%{soversion}
%{_libdir}/libabsl_bad_optional_access.%{soversion}
%{_libdir}/libabsl_bad_variant_access.%{soversion}
%{_libdir}/libabsl_civil_time.%{soversion}
%{_libdir}/libabsl_cordz_sample_token.%{soversion}
%{_libdir}/libabsl_crc_cpu_detect.%{soversion}
%{_libdir}/libabsl_die_if_null.%{soversion}
%{_libdir}/libabsl_failure_signal_handler.%{soversion}
%{_libdir}/libabsl_flags_commandlineflag_internal.%{soversion}
%{_libdir}/libabsl_flags_commandlineflag.%{soversion}
%{_libdir}/libabsl_flags_config.%{soversion}
%{_libdir}/libabsl_flags_internal.%{soversion}
%{_libdir}/libabsl_flags_marshalling.%{soversion}
%{_libdir}/libabsl_flags_parse.%{soversion}
%{_libdir}/libabsl_flags_private_handle_accessor.%{soversion}
%{_libdir}/libabsl_flags_program_name.%{soversion}
%{_libdir}/libabsl_flags_reflection.%{soversion}
%{_libdir}/libabsl_flags_usage_internal.%{soversion}
%{_libdir}/libabsl_flags_usage.%{soversion}
%{_libdir}/libabsl_graphcycles_internal.%{soversion}
%{_libdir}/libabsl_hashtablez_sampler.%{soversion}
%{_libdir}/libabsl_leak_check.%{soversion}
%{_libdir}/libabsl_log_entry.%{soversion}
%{_libdir}/libabsl_log_flags.%{soversion}
%{_libdir}/libabsl_log_initialize.%{soversion}
%{_libdir}/libabsl_log_internal_conditions.%{soversion}
%{_libdir}/libabsl_log_internal_fnmatch.%{soversion}
%{_libdir}/libabsl_log_severity.%{soversion}
%{_libdir}/libabsl_periodic_sampler.%{soversion}
%{_libdir}/libabsl_random_distributions.%{soversion}
%{_libdir}/libabsl_random_internal_distribution_test_util.%{soversion}
%{_libdir}/libabsl_random_internal_platform.%{soversion}
%{_libdir}/libabsl_random_internal_pool_urbg.%{soversion}
%{_libdir}/libabsl_random_internal_randen_hwaes_impl.%{soversion}
%{_libdir}/libabsl_random_internal_randen_hwaes.%{soversion}
%{_libdir}/libabsl_random_internal_randen_slow.%{soversion}
%{_libdir}/libabsl_random_internal_randen.%{soversion}
%{_libdir}/libabsl_random_internal_seed_material.%{soversion}
%{_libdir}/libabsl_random_seed_gen_exception.%{soversion}
%{_libdir}/libabsl_random_seed_sequences.%{soversion}
%{_libdir}/libabsl_scoped_set_env.%{soversion}
%{_libdir}/libabsl_statusor.%{soversion}
%{_libdir}/libabsl_status.%{soversion}
%{_libdir}/libabsl_vlog_config_internal.%{soversion}
%files devel
%license LICENSE
%doc README.md

View File

@@ -1,2 +1 @@
libabsl_lite_2401_0_0
libabsl_2401_0_0
# filled by spec file

View File

@@ -1,11 +0,0 @@
--- abseil-cpp-20230125.3/CMakeLists.txt 2023-08-08 13:05:37.796998429 +0200
+++ abseil-cpp-20230125.3/CMakeLists.txt 2023-08-08 13:06:11.263885421 +0200
@@ -16,7 +16,7 @@
# https://github.com/google/oss-policies-info/blob/main/foundational-cxx-support-matrix.md
# As of 2022-09-06, CMake 3.10 is the minimum supported version.
-cmake_minimum_required(VERSION 3.10)
+cmake_minimum_required(VERSION 3.5)
# Compiler id for Apple Clang is now AppleClang.
if (POLICY CMP0025)

View File

@@ -3,43 +3,16 @@ 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-20240116.1/absl/base/options.h
Index: abseil-cpp-20260107.0/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.
--- abseil-cpp-20260107.0.orig/absl/base/options.h
+++ abseil-cpp-20260107.0/absl/base/options.h
@@ -98,7 +98,7 @@
// the ordering types are aliases of std:: ordering types, use the feature macro
// ABSL_USES_STD_ORDERING.
-#define ABSL_OPTION_USE_STD_ANY 2
+#define ABSL_OPTION_USE_STD_ANY 1
-#define ABSL_OPTION_USE_STD_ORDERING 2
+#define ABSL_OPTION_USE_STD_ORDERING 0
// ABSL_OPTION_USE_STD_OPTIONAL
@@ -121,7 +121,7 @@
// absl::optional is a typedef of std::optional, use the feature macro
// ABSL_USES_STD_OPTIONAL.
-#define ABSL_OPTION_USE_STD_OPTIONAL 2
+#define ABSL_OPTION_USE_STD_OPTIONAL 1
// ABSL_OPTION_USE_STD_STRING_VIEW
@@ -148,7 +148,7 @@
// absl::string_view is a typedef of std::string_view, use the feature macro
// ABSL_USES_STD_STRING_VIEW.
-#define ABSL_OPTION_USE_STD_STRING_VIEW 2
+#define ABSL_OPTION_USE_STD_STRING_VIEW 1
// ABSL_OPTION_USE_STD_VARIANT
//
@@ -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 1
// ABSL_OPTION_USE_STD_ORDERING
//
// ABSL_OPTION_USE_INLINE_NAMESPACE
// ABSL_OPTION_INLINE_NAMESPACE_NAME

View File

@@ -1,45 +0,0 @@
Make the headers always tell the truth about the ABI of the compiled dll's
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
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.
-#define ABSL_OPTION_USE_STD_ANY 2
+#define ABSL_OPTION_USE_STD_ANY 0
// ABSL_OPTION_USE_STD_OPTIONAL
@@ -121,7 +121,7 @@
// absl::optional is a typedef of std::optional, use the feature macro
// ABSL_USES_STD_OPTIONAL.
-#define ABSL_OPTION_USE_STD_OPTIONAL 2
+#define ABSL_OPTION_USE_STD_OPTIONAL 0
// ABSL_OPTION_USE_STD_STRING_VIEW
@@ -148,7 +148,7 @@
// absl::string_view is a typedef of std::string_view, use the feature macro
// ABSL_USES_STD_STRING_VIEW.
-#define ABSL_OPTION_USE_STD_STRING_VIEW 2
+#define ABSL_OPTION_USE_STD_STRING_VIEW 0
// ABSL_OPTION_USE_STD_VARIANT
//
@@ -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_STD_ORDERING
//

View File

@@ -0,0 +1,10 @@
--- abseil-cpp-20260107.0/absl/container/CMakeLists.txt 2026-01-15 09:05:01.099736976 +0100
+++ abseil-cpp-20260107.0/absl/container/CMakeLists.txt 2026-01-15 09:05:37.233089454 +0100
@@ -1119,6 +1119,7 @@
absl::config
absl::test_instance_tracker
GTest::gmock
+ TESTONLY
)
absl_cc_library(