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/libmodulemd] f45: Verify source signatures with openpgpverify
Date: Fri, 06 Nov 2026 16:26:45 GMT	[thread overview]
Message-ID: <179398240592.1.14454241424828210220.rpms-libmodulemd-4feb361f9e62@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/libmodulemd
            Branch : f45
            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=f45

            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
 

                 reply	other threads:[~2026-11-06 16:26 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=179398240592.1.14454241424828210220.rpms-libmodulemd-4feb361f9e62@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