public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/knot] rawhide: Verify source signatures with openpgpverify
@ 2026-10-29 19:19 Jakub Jelen
0 siblings, 0 replies; only message in thread
From: Jakub Jelen @ 2026-10-29 19:19 UTC (permalink / raw)
To: git-commits
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)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-29 19:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-29 19:19 [rpms/knot] rawhide: Verify source signatures with openpgpverify Jakub Jelen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox