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

            A new commit has been pushed.

            Repo   : rpms/libmodulemd
            Branch : f44
            Commit : e52b3a18da4f3b692c53e0878df8a7c7e3787883
            Author : Jakub Jelen <jjelen@redhat.com>
            Date   : 2026-11-06T17:28:26+01:00
            Stats  : +12/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/libmodulemd/c/e52b3a18da4f3b692c53e0878df8a7c7e3787883?branch=f44

            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 864ec53..76daeb6 100644
--- a/libmodulemd.spec
+++ b/libmodulemd.spec
@@ -24,7 +24,7 @@
 
 Name:           %{upstream_name}%{?v2_suffix}
 Version:        2.15.3
-Release:        1%{?dist}
+Release:        2%{?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-2
+- Verify upstream source signatures with openpgpverify
+
 * Fri Jun 12 2026 Petr Pisar <ppisar@redhat.com> - 2.15.3-1
 - 2.15.3 bump
 

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

only message in thread, other threads:[~2026-11-06 16:29 UTC | newest]

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