diff --git a/protobuf-c.changes b/protobuf-c.changes index e859047..a7ecbc2 100644 --- a/protobuf-c.changes +++ b/protobuf-c.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Jun 12 20:06:14 UTC 2023 - Dirk Müller + +- limit to protobuf < 22 as it is not compatible with newer + versions (gh#protobuf-c#544) + ------------------------------------------------------------------- Mon Apr 24 11:19:07 UTC 2023 - Adam Majer diff --git a/protobuf-c.spec b/protobuf-c.spec index 4f52855..1fd8803 100644 --- a/protobuf-c.spec +++ b/protobuf-c.spec @@ -33,7 +33,9 @@ BuildRequires: glibc-devel BuildRequires: libtool BuildRequires: make BuildRequires: pkgconfig -BuildRequires: protobuf-devel >= 2.6.0 +# not compatible with v22 due to https://protobuf.dev/news/2022-08-03/#cpp-changes +# see https://github.com/protobuf-c/protobuf-c/issues/544 +BuildRequires: (protobuf-devel >= 2.6.0 with protobuf-devel < 22) %description This package provides a code generator and runtime libraries to use Protocol @@ -53,7 +55,7 @@ Buffers from pure C (not C++). Summary: C bindings for Google's Protocol Buffers Group: Development/Libraries/C and C++ Requires: libprotobuf-c%sover = %version -Recommends: protobuf-devel +Recommends: (protobuf-devel >= 2.6.0 with protobuf-devel < 22) Provides: %name = %version Obsoletes: %name <= 1.4.0