public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jakub Jelen <jjelen@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/knot] rawhide: Verify source signatures with openpgpverify
Date: Thu, 29 Oct 2026 19:19:37 GMT	[thread overview]
Message-ID: <179330157726.1.9029059213379822383.rpms-knot-c74b83561551@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/knot
            Branch : rawhide
            Commit : c74b835615511282f8b6a7939bdd246532336abd
            Author : Jakub Jelen <jjelen@redhat.com>
            Date   : 2026-10-29T13:25:32+01:00
            Stats  : +6/-7 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/knot/c/c74b835615511282f8b6a7939bdd246532336abd?branch=rawhide

            Log:
            Verify source signatures with openpgpverify

Replace the direct GnuPG verification with %openpgpverify, which
uses Sequoia sqv, as part of the Fedora 45 Change
https://fedoraproject.org/wiki/Changes/Sequoia_openpgpverify

Release bumped with a changelog entry.

Assisted-by: Claude Opus 5.5

---
diff --git a/knot.spec b/knot.spec
index 29f7b8c..ae5b183 100644
--- a/knot.spec
+++ b/knot.spec
@@ -15,7 +15,7 @@
 Summary:	High-performance authoritative DNS server
 Name:		knot
 Version:	3.6.2
-Release:	1%{?dist}
+Release:	2%{?dist}
 License:	GPL-2.0-or-later
 URL:		https://www.knot-dns.cz
 Source0:	https://secure.nic.cz/files/knot-dns/%{name}-%{version}.tar.xz
@@ -26,7 +26,7 @@ Source1:	https://secure.nic.cz/files/knot-dns/%{name}-%{version}.tar.xz.asc
 # Export with --armor using command from https://fedoraproject.org/wiki/PackagingDrafts:GPGSignatures
 # Don't forget to update %%prep section when adding/removing keys
 Source100:	gpgkey-742FA4E95829B6C5EAC6B85710BB7AF6FEBBD6AB.gpg.asc
-BuildRequires:	gnupg2
+BuildRequires:	openpgpverify
 %endif
 
 # Required dependencies
@@ -197,11 +197,7 @@ On-line version is available on https://www.knot-dns.cz/documentation/
 
 %prep
 %if 0%{?GPG_CHECK}
-export GNUPGHOME=./gpg-keyring
-[ -d ${GNUPGHOME} ] && rm -r ${GNUPGHOME}
-mkdir --mode=700 ${GNUPGHOME}
-gpg2 --import %{SOURCE100}
-gpg2 --verify %{SOURCE1} %{SOURCE0}
+%{openpgpverify} --keyring='%{SOURCE100}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
 %endif
 %autosetup -p1
 
@@ -431,6 +427,9 @@ V=1 make check
 %doc %{_pkgdocdir}/html
 
 %changelog
+* Mon Oct 26 2026 Jakub Jelen <jjelen@redhat.com> - 3.6.2-2
+- Verify upstream source signatures with openpgpverify
+
 * Wed Oct 21 2026 Jan Včelák <jvcelak@fedoraproject.org> - 3.6.2-1
 - update to 3.6.2 (security fixes)
 

                 reply	other threads:[~2026-10-29 19:19 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=179330157726.1.9029059213379822383.rpms-knot-c74b83561551@fedoraproject.org \
    --to=jjelen@redhat.com \
    --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