public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/frr] rawhide: Auto-select protobuf version
@ 2026-07-02 11:16 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-07-02 11:16 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/frr
            Branch : rawhide
            Commit : 9af461f140f4b3e0c9e6074d8e10163b68694ba2
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-07-01T20:21:36-04:00
            Stats  : +6/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/frr/c/9af461f140f4b3e0c9e6074d8e10163b68694ba2?branch=rawhide

            Log:
            Auto-select protobuf version

frr itself compiles with the latest protobuf, but on Fedora where grpc is
enabled, protobuf3 must be used because grpc still uses it.  These
dependencies allow the correct protobuf version to be used in either case.

---
diff --git a/frr.spec b/frr.spec
index 3ea09d0..97fefe3 100644
--- a/frr.spec
+++ b/frr.spec
@@ -9,7 +9,7 @@
 
 Name:           frr
 Version:        10.6.1
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Routing daemon
 License:        GPL-2.0-or-later AND ISC AND LGPL-2.0-or-later AND BSD-2-Clause AND BSD-3-Clause AND (GPL-2.0-or-later  OR ISC) AND MIT
 URL:            http://www.frrouting.org
@@ -68,7 +68,8 @@ BuildRequires:  readline-devel
 BuildRequires:  systemd-devel
 BuildRequires:  systemd-rpm-macros
 BuildRequires:  texinfo
-BuildRequires:  protobuf3-c-devel
+BuildRequires:  protobuf-compiler
+BuildRequires:  pkgconfig(libprotobuf-c)
 # RPKI support
 BuildRequires:  rtrlib-devel
 
@@ -315,6 +316,9 @@ rm tests/lib/*grpc*
 %endif
 
 %changelog
+* Thu Jul 02 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 10.6.1-4
+- Auto-select protobuf version
+
 * Wed Jun 24 2026 Benjamin A. Beasley <code@musicinmybrain.net> - 10.6.1-3
 - Rebuilt for abseil-cpp 20260526.0
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-02 11:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 11:16 [rpms/frr] rawhide: Auto-select protobuf version Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox