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

A new commit has been pushed.

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

Log:
Verify source signatures with openpgpverify

---
diff --git a/libmd.spec b/libmd.spec
index fd7ef74..0ad6b92 100644
--- a/libmd.spec
+++ b/libmd.spec
@@ -8,7 +8,11 @@ URL:            https://www.hadrons.org/software/libmd/
 Source0:        https://libbsd.freedesktop.org/releases/%{name}-%{version}.tar.xz
 Source1:        https://libbsd.freedesktop.org/releases/%{name}-%{version}.tar.xz.asc
 Source2:        https://keys.openpgp.org/vks/v1/by-fingerprint/4F3E74F436050C10F5696574B972BF3EA4AE57A3
+%if 0%{?fedora} || 0%{?rhel} >= 9
+BuildRequires:  openpgpverify
+%else
 BuildRequires:  gnupg2
+%endif
 BuildRequires:  gcc
 BuildRequires:  make
 
@@ -27,7 +31,7 @@ The libmd-devel package includes header files and libraries necessary
 for developing programs which use the message digest library.
 
 %prep
-%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
+%{?openpgpverify}%{!?openpgpverify:%{gpgverify}} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
 %setup -q
 
 %build

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

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