find_or_build_gtest ()
set (
---- libphonenumber-8.12.42/cpp/CMakeLists.txt.orig 2022-02-08 21:04:15.984964451 +0100
-+++ libphonenumber-8.12.42/cpp/CMakeLists.txt 2022-02-08 21:08:15.033998716 +0100
-@@ -474,6 +474,7 @@ if (${USE_POSIX_THREAD} STREQUAL "ON" OR
+--- libphonenumber-8.12.46/cpp/CMakeLists.txt.orig 2022-02-08 21:04:15.984964451 +0100
++++ libphonenumber-8.12.46/cpp/CMakeLists.txt 2022-02-08 21:08:15.033998716 +0100
+@@ -474,10 +474,11 @@ if (${USE_POSIX_THREAD} STREQUAL "ON" OR
endif()
endif ()
-+find_package(absl REQUIRED COMPONENTS strings synchronization)
++find_package(absl REQUIRED COMPONENTS hash raw_hash_set strings synchronization)
# Safeguarding against any potential link errors as mentioned in
# https://github.com/abseil/abseil-cpp/issues/225
set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
+-list (APPEND LIBRARY_DEPS absl::strings)
++list (APPEND LIBRARY_DEPS absl::hash absl::raw_hash_set absl::strings)
+ list (APPEND COMMON_DEPS absl::synchronization)
+
+ if (APPLE)
+ list (APPEND COMMON_DEPS ${COREFOUNDATION_LIB} ${FOUNDATION_LIB})
--- libphonenumber-8.12.42/cpp/CMakeLists.txt.orig 2022-02-08 21:57:33.440581630 +0100
+++ libphonenumber-8.12.42/cpp/CMakeLists.txt 2022-02-08 22:20:13.587822822 +0100
@@ -18,7 +18,7 @@ cmake_minimum_required (VERSION 3.11)
Summary: Library to handle international phone numbers
Summary(pl.UTF-8): Biblioteka do obsługi międzynarodowych numerów telefonów
Name: libphonenumber
-Version: 8.12.42
-Release: 4
+Version: 8.12.46
+Release: 1
License: Apache v2.0 with BSD parts
Group: Libraries
#Source0Download: https://github.com/google/libphonenumber/releases/
Source0: https://github.com/google/libphonenumber/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 8b071ea1d220018aa731d79794a00249
+# Source0-md5: 0b2bef80ef2ba89d93c4e46032609464
Patch0: %{name}-link.patch
Patch1: %{name}-no-fetch.patch
URL: https://github.com/google/libphonenumber/