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

A new commit has been pushed.

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

Log:
Verify source signatures with openpgpverify

---
diff --git a/libbsd.spec b/libbsd.spec
index 356daff..f99e727 100644
--- a/libbsd.spec
+++ b/libbsd.spec
@@ -14,7 +14,11 @@ Source2:        https://keys.openpgp.org/vks/v1/by-fingerprint/4F3E74F436050C10F
 Source3:        libbsd-cdefs.h
 
 BuildRequires:  gcc
+%if 0%{?fedora} || 0%{?rhel} >= 9
+BuildRequires:  openpgpverify
+%else
 BuildRequires:  gnupg2
+%endif
 BuildRequires:  libmd-devel
 BuildRequires:  make
 
@@ -45,7 +49,7 @@ configured using "pkg-config --libs libbsd-ctor".
 
 %prep
 %setup -q
-%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
+%{?openpgpverify}%{!?openpgpverify:%{gpgverify}} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
 
 %build
 %configure

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

only message in thread, other threads:[~2026-11-14 22:19 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:19 [rpms/libbsd] 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