public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libmodulemd] rawhide: Verify source signatures with openpgpverify
@ 2026-10-23 15:08 Jakub Jelen
  0 siblings, 0 replies; only message in thread
From: Jakub Jelen @ 2026-10-23 15:08 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/libmodulemd
            Branch : rawhide
            Commit : 4feb361f9e62b635189b9c88cbf44839dc5be313
            Author : Jakub Jelen <jjelen@redhat.com>
            Date   : 2026-10-23T17:05:02+02:00
            Stats  : +12/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/libmodulemd/c/4feb361f9e62b635189b9c88cbf44839dc5be313?branch=rawhide

            Log:
            Verify source signatures with openpgpverify

Replace the GnuPG-based %gpgverify with %openpgpverify, which uses
Sequoia sqv and takes the same options, 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
Petr Pisar: This spec file intentionally supports EPEL7.

---
diff --git a/libmodulemd.spec b/libmodulemd.spec
index 00eb0ba..3db68bb 100644
--- a/libmodulemd.spec
+++ b/libmodulemd.spec
@@ -24,7 +24,7 @@
 
 Name:           %{upstream_name}%{?v2_suffix}
 Version:        2.15.3
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Module metadata manipulation library
 
 # COPYING:      MIT
@@ -42,7 +42,11 @@ Source1:        %{url}/releases/download/%{version}/modulemd-%{version}.tar.xz.a
 # Key exported from Petr Pisar's keyring
 Source2:        gpgkey-E3F42FCE156830A80358E6E94FD1AEC3365AF7BF.gpg
 
+%if (0%{?rhel} && 0%{?rhel} <= 7)
 BuildRequires:  gnupg2
+%else
+BuildRequires:  openpgpverify
+%endif
 BuildRequires:  meson >= 0.47
 BuildRequires:  pkgconfig
 BuildRequires:  gcc
@@ -109,7 +113,11 @@ Development files for %{name}.
 
 
 %prep
+%if (0%{?rhel} && 0%{?rhel} <= 7)
 %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
+%else
+%{openpgpverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
+%endif
 %autosetup -p1 -n modulemd-%{version}
 
 
@@ -182,6 +190,9 @@ mv %{buildroot}%{_mandir}/man1/modulemd-validator.1 \
 
 
 %changelog
+* Mon Oct 12 2026 Jakub Jelen <jjelen@redhat.com> - 2.15.3-4
+- Verify upstream source signatures with openpgpverify
+
 * Wed Jul 22 2026 Python Maint <python-maint@redhat.com> - 2.15.3-3
 - Rebuilt for Python 3.15.0b4 ABI change
 

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

only message in thread, other threads:[~2026-10-23 15:08 UTC | newest]

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