- prefer protobuf 21 as it is not compatible with v22

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libphonenumber?expand=0&rev=13
This commit is contained in:
Dirk Mueller 2023-06-13 16:04:12 +00:00 committed by Git OBS Bridge
parent 8b5ea803b5
commit 084ba90ff2
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 13 16:03:57 UTC 2023 - Dirk Müller <dmueller@suse.com>
- prefer protobuf 21 as it is not compatible with v22
-------------------------------------------------------------------
Thu May 20 16:16:04 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package libphonenumber
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -35,7 +35,8 @@ BuildRequires: libboost_thread-devel
BuildRequires: pkgconfig(gtest)
BuildRequires: pkgconfig(icu-i18n) >= 4.4
BuildRequires: pkgconfig(icu-uc) >= 4.4
BuildRequires: pkgconfig(protobuf) >= 2.4
# not compatible with v22 due to https://protobuf.dev/news/2022-08-03/#cpp-changes
BuildRequires: (pkgconfig(protobuf) >= 2.4 with pkgconfig(protobuf) < 22)
%description
Google's common Java, C++ and JavaScript library for parsing, formatting,
@ -55,7 +56,7 @@ for running on smartphones, and is used by the Android framework since 4.0
Summary: Library for parsing, formatting, and validating international phone numbers
Group: Development/Libraries/C and C++
Requires: %{name}%{lib_ver} = %{version}
Requires: pkgconfig(protobuf) >= 2.4
Requires: (pkgconfig(protobuf) >= 2.4 with pkgconfig(protobuf) < 22)
%description devel
Google's common Java, C++ and JavaScript library for parsing, formatting,