public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/grpc] rawhide: Use protobuf3 instead of protobuf
Date: Fri, 05 Jun 2026 15:32:42 GMT [thread overview]
Message-ID: <178067356253.1.18306543255870369309.rpms-grpc-e57bdb01893e@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/grpc
Branch : rawhide
Commit : e57bdb01893e49b38eb638f8e316b241dcd7382c
Author : Miroslav Suchý <msuchy@redhat.com>
Date : 2026-06-05T15:32:25+00:00
Stats : +6/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/grpc/c/e57bdb01893e49b38eb638f8e316b241dcd7382c?branch=rawhide
Log:
Use protobuf3 instead of protobuf
This is part of https://fedoraproject.org/wiki/Changes/Protobuf_5.x/6.x
Mosh does not sucessfully build with new protobuf per
https://copr.fedorainfracloud.org/coprs/mochaa/protobuf/monitor/
so switching to protobuf3.
---
diff --git a/grpc.spec b/grpc.spec
index 74d08c4..1b2a011 100644
--- a/grpc.spec
+++ b/grpc.spec
@@ -210,8 +210,10 @@ BuildRequires: chrpath
BuildRequires: pkgconfig(zlib)
BuildRequires: cmake(gflags)
+# enforce compat package protobuf3
+BuildRequires: protobuf-devel < 4
BuildRequires: pkgconfig(protobuf)
-BuildRequires: protobuf-compiler
+BuildRequires: protobuf-compiler < 4
BuildRequires: pkgconfig(re2)
BuildRequires: pkgconfig(openssl)
%if ! (0%{?rhel} >= 10 || 0%{?fedora} >= 45)
@@ -226,6 +228,7 @@ BuildRequires: xxhash-static
%if %{with core_tests}
BuildRequires: cmake(benchmark)
+BuildRequires: libpfm-devel
%if %{with system_gtest}
BuildRequires: cmake(gtest)
BuildRequires: pkgconfig(gmock)
@@ -277,6 +280,7 @@ BuildRequires: python3dist(cython) > 0.23
# grpcio_testing (src/python/grpcio_testing/setup.py) install_requires:
# grpcio_tests (src/python/grpcio_tests/setup.py) install_requires:
# grpcio_tools (tools/distrib/python/grpcio_tools/setup.py) install_requires:
+BuildRequires: python3-protobuf < 4
BuildRequires: python3dist(protobuf) >= 3.12.0
# grpcio_status (src/python/grpcio_status/setup.py) install_requires:
@@ -583,7 +587,7 @@ Summary: Protocol buffers compiler plugins for gRPC
Requires: grpc%{?_isa} = %{version}-%{release}
Requires: grpc-cpp%{?_isa} = %{version}-%{release}
-Requires: protobuf-compiler
+Requires: protobuf-compiler < 4
Provides: bundled(upb)
Provides: bundled(utf8_range)
reply other threads:[~2026-06-05 15:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178067356253.1.18306543255870369309.rpms-grpc-e57bdb01893e@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox