update to 9.0.17 [release 9.0.17-1mamba;Fri Oct 24 2025]

This commit is contained in:
2025-10-24 19:11:13 +02:00
parent 1534a9bfb1
commit 3e2b06643d
2 changed files with 29 additions and 4 deletions

View File

@@ -0,0 +1,22 @@
From 72c1023fbf00fc48866acab05f6ccebcae7f3213 Mon Sep 17 00:00:00 2001
From: Michael Cho <michael@michaelcho.dev>
Date: Mon, 11 Aug 2025 17:08:15 -0400
Subject: [PATCH] Fix build with Boost 1.89.0
---
cpp/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index 27e4680ccc..39f05d2c9a 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -145,7 +145,7 @@ if (USE_BOOST)
if (WIN32)
set (Boost_USE_STATIC_LIBS ON)
endif ()
- find_package (Boost 1.40.0 COMPONENTS date_time system thread)
+ find_package (Boost 1.40.0 COMPONENTS date_time thread OPTIONAL_COMPONENTS system)
if (NOT Boost_FOUND)
print_error ("Boost Date_Time/System/Thread" "Boost")
endif ()

View File

@@ -1,5 +1,5 @@
Name: libphonenumber
Version: 9.0.16
Version: 9.0.17
Release: 1mamba
Summary: Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers
Group: System/Libraries
@@ -9,6 +9,7 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/google/libphonenumber
Source: https://github.com/google/libphonenumber.git/v%{version}/libphonenumber-%{version}.tar.bz2
Patch0: libphonenumber-8.13.31-protobuf-25.3.patch
Patch1: libphonenumber-9.0.17-libboost-1.89.0.patch
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@@ -21,7 +22,7 @@ BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: libabseil-cpp-devel >= 20250512.0-1mamba
BuildRequires: libgmock-devel
BuildRequires: libprotobuf-devel >= 31.1
BuildRequires: libprotobuf-devel >= 33.0
%description
Google's common Java, C++ and JavaScript library for parsing, formatting, and validating international phone numbers.
@@ -33,10 +34,10 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%prep
%setup -q
%patch 0 -p1 -b .protobuf-25.3
%patch 1 -p1 -b .libboost-1.89.0
%build
%cmake -d build \
@@ -53,7 +54,6 @@ This package contains libraries and header files for developing applications tha
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libgeocoding.so.*
@@ -74,6 +74,9 @@ This package contains libraries and header files for developing applications tha
%doc README.md
%changelog
* Fri Oct 24 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 9.0.17-1mamba
- update to 9.0.17
* Fri Oct 10 2025 Automatic Build System <autodist@openmamba.org> 9.0.16-1mamba
- automatic version update by autodist