public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Robert Scheck <robert@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/lua-unbound] main: Verify source signatures with openpgpverify
Date: Sun, 15 Nov 2026 00:25:26 GMT	[thread overview]
Message-ID: <179470232661.1.14194674327912498488.rpms-lua-unbound-2ca8340c512d@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-11-15  0:25 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=179470232661.1.14194674327912498488.rpms-lua-unbound-2ca8340c512d@fedoraproject.org \
    --to=robert@fedoraproject.org \
    --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