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

A new commit has been pushed.

Repo   : rpms/lua-unbound
Branch : main
Commit : 2ca8340c512d7157ebb0f38226c44aec4beadcc5
Author : Robert Scheck <robert@fedoraproject.org>
Date   : 2026-11-15T01:25:15+01:00
Stats  : +5/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/lua-unbound/c/2ca8340c512d7157ebb0f38226c44aec4beadcc5?branch=main

Log:
Verify source signatures with openpgpverify

---
diff --git a/lua-unbound.spec b/lua-unbound.spec
index b072340..5bcf8d7 100644
--- a/lua-unbound.spec
+++ b/lua-unbound.spec
@@ -8,7 +8,11 @@ Source0:        https://code.zash.se/dl/luaunbound/luaunbound-%{version}.tar.gz
 Source1:        https://code.zash.se/dl/luaunbound/luaunbound-%{version}.tar.gz.asc
 Source2:        gpgkey-3E52119EF853C59678DBBF6BADED9A77B67AD329.gpg
 Requires:       lua(abi) = %{lua_version}
+%if 0%{?fedora} || 0%{?rhel} >= 9
+BuildRequires:  openpgpverify
+%else
 BuildRequires:  gnupg2
+%endif
 BuildRequires:  gcc
 BuildRequires:  make
 BuildRequires:  lua >= %{lua_version}
@@ -19,7 +23,7 @@ BuildRequires:  unbound-devel
 Lua bindings for the Unbound APIs.
 
 %prep
-%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
+%{?openpgpverify}%{!?openpgpverify:%{gpgverify}} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
 %setup -q -n luaunbound-%{version}
 
 %build

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

only message in thread, other threads:[~2026-11-15  0:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-15  0:25 [rpms/lua-unbound] 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