public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/openbgpd] main: Verify source signatures with openpgpverify
@ 2026-11-14 22:06 Robert Scheck
  0 siblings, 0 replies; only message in thread
From: Robert Scheck @ 2026-11-14 22:06 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/openbgpd
Branch : main
Commit : e8594a7bcbd92629a58ca703a3296e89aa0c1547
Author : Robert Scheck <robert@fedoraproject.org>
Date   : 2026-11-14T23:05:51+01:00
Stats  : +5/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/openbgpd/c/e8594a7bcbd92629a58ca703a3296e89aa0c1547?branch=main

Log:
Verify source signatures with openpgpverify

---
diff --git a/openbgpd.spec b/openbgpd.spec
index 7688239..38082b7 100644
--- a/openbgpd.spec
+++ b/openbgpd.spec
@@ -18,7 +18,11 @@ Source4:        openbgpd.tmpfilesd
 Source5:        openbgpd.sysusersd
 # Adjust path of Validated ROA Payloads (VRP) for rpki-client
 Patch0:         openbgpd-6.7p0-rpki-client.patch
+%if 0%{?fedora} || 0%{?rhel} >= 9
+BuildRequires:  openpgpverify
+%else
 BuildRequires:  gnupg2
+%endif
 BuildRequires:  gcc
 BuildRequires:  libmnl-devel >= 1.0.4
 BuildRequires:  make
@@ -33,7 +37,7 @@ Version 4. It allows ordinary machines to be used as routers exchanging
 routes with other systems speaking the BGP protocol.
 
 %prep
-%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
+%{?openpgpverify}%{!?openpgpverify:%{gpgverify}} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
 %setup -q
 %patch -P0 -p1 -b .rpki-client
 touch -c -r bgpd.conf{.rpki-client,}

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

only message in thread, other threads:[~2026-11-14 22:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-14 22:06 [rpms/openbgpd] main: Verify source signatures with openpgpverify Robert Scheck

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