Accepting request 1119441 from home:AndreasStieger:branches:devel:libraries:c_c++
libphonenumber 8.13.28 OBS-URL: https://build.opensuse.org/request/show/1119441 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=20
This commit is contained in:
parent
c513d918db
commit
e5ddb9d14f
@ -1,29 +0,0 @@
|
||||
From 027de3b5d44f6291bd4785ec7530661ac98cbf53 Mon Sep 17 00:00:00 2001
|
||||
From: Fabian Vogt <fvogt@suse.de>
|
||||
Date: Wed, 14 Jun 2023 09:06:02 +0200
|
||||
Subject: [PATCH] Build with C++17
|
||||
|
||||
Recent abseil requires C++14 and TW builds it with C++17, so just use 17
|
||||
directly.
|
||||
---
|
||||
cpp/CMakeLists.txt | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
|
||||
index cdd7a08..bc331aa 100644
|
||||
--- a/cpp/CMakeLists.txt
|
||||
+++ b/cpp/CMakeLists.txt
|
||||
@@ -19,8 +19,8 @@ cmake_minimum_required (VERSION 3.11)
|
||||
project (libphonenumber VERSION 8.13.0)
|
||||
|
||||
# Pick the C++ standard to compile with.
|
||||
-# Abseil currently supports C++11, C++14, and C++17.
|
||||
-set(CMAKE_CXX_STANDARD 11 CACHE STRING "C++ standard used to compile this project")
|
||||
+# Abseil currently supports C++14, and C++17.
|
||||
+set(CMAKE_CXX_STANDARD 17 CACHE STRING "C++ standard used to compile this project")
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
|
||||
|
||||
--
|
||||
2.41.0
|
||||
|
2
_service
2
_service
@ -2,7 +2,7 @@
|
||||
<service name="obs_scm" mode="disabled">
|
||||
<param name="url">https://github.com/google/libphonenumber.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">v8.13.15</param>
|
||||
<param name="revision">v8.13.23</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<!-- Contains binary .jars with legally questionable content -->
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c8b06009e54ff4d6cd9ae892f278c11817b6d426ea54fe69f7a23252a2b020ca
|
||||
size 90171406
|
3
libphonenumber-8.13.23.obscpio
Normal file
3
libphonenumber-8.13.23.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a824f88ff261794259034da77669fd08fb91d1650811e13fe671afa8f304830c
|
||||
size 88558606
|
3
libphonenumber-8.13.23.tar.xz
Normal file
3
libphonenumber-8.13.23.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb35a2aca1cc9a60e3c5a89552dbc601b197c63a9ed2888015e2d48359885d39
|
||||
size 7629496
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 22 13:41:15 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to version 8.13.28:
|
||||
* Updated phone metadata, carrier data, geocoding data, short
|
||||
number metadata for a number of region and calling codes
|
||||
- drop 0001-Build-with-C-17.patch now upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 26 09:00:14 UTC 2023 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
name: libphonenumber
|
||||
version: 8.13.15
|
||||
mtime: 1687328489
|
||||
commit: d3e97dd640066087e534ea1a1a41137c797b040e
|
||||
version: 8.13.23
|
||||
mtime: 1697005952
|
||||
commit: 052011a699cb9492bfc03f4f52620f4ea1b17acf
|
||||
|
@ -16,25 +16,24 @@
|
||||
#
|
||||
|
||||
|
||||
Name: libphonenumber
|
||||
Version: 8.13.15
|
||||
Release: 0
|
||||
%define lib_ver 8
|
||||
%define lib_ver2 8.13
|
||||
Name: libphonenumber
|
||||
Version: 8.13.23
|
||||
Release: 0
|
||||
Summary: Library for parsing, formatting, and validating international phone numbers
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/google/libphonenumber
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
# PATCH-FIX-DOWNSTREAM (for using system abseil)
|
||||
Patch1: 0001-Build-with-C-17.patch
|
||||
# PATCH-FIX-DOWNSTREAM (see https://github.com/google/libphonenumber/pull/2874)
|
||||
Patch2: 0001-Revert-Fix-typo-in-arguments-to-add_metadata_gen_tar.patch
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libboost_date_time-devel
|
||||
BuildRequires: libboost_system-devel
|
||||
BuildRequires: libboost_thread-devel
|
||||
BuildRequires: libboost_date_time-devel >= 1.40.0
|
||||
BuildRequires: libboost_system-devel >= 1.40.0
|
||||
BuildRequires: libboost_thread-devel >= 1.40.0
|
||||
BuildRequires: pkgconfig
|
||||
# Actual version requirement unknown
|
||||
BuildRequires: cmake(absl)
|
||||
BuildRequires: pkgconfig(gtest)
|
||||
@ -69,7 +68,6 @@ and validating international phone numbers. The Java version is optimized
|
||||
for running on smartphones, and is used by the Android framework since 4.0
|
||||
(Ice Cream Sandwich).
|
||||
|
||||
|
||||
This package provides libraries and header files for developing applications
|
||||
that use libphonenumber.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user