public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/frr] rawhide: Auto-select protobuf version
Date: Thu, 02 Jul 2026 11:16:07 GMT	[thread overview]
Message-ID: <178299096785.1.18105078567231066300.rpms-frr-9af461f140f4@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-07-02 11:16 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=178299096785.1.18105078567231066300.rpms-frr-9af461f140f4@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=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