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

            A new commit has been pushed.

            Repo   : rpms/asterisk
            Branch : rawhide
            Commit : 00c17923436ad0eeeac5e2d0fb9d8cc930dfc12b
            Author : Jakub Jelen <jjelen@redhat.com>
            Date   : 2026-11-06T09:39:48+01:00
            Stats  : +6/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/asterisk/c/00c17923436ad0eeeac5e2d0fb9d8cc930dfc12b?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/asterisk.spec b/asterisk.spec
index 33398fd..fc7ad5b 100644
--- a/asterisk.spec
+++ b/asterisk.spec
@@ -42,7 +42,7 @@
 Summary:          The Open Source PBX
 Name:             asterisk
 Version:          24.0.0
-Release:          %{?_rc||?_beta:0.}1%{?_rc:.rc%{_rc}}%{?_beta:.beta%{_beta}}%{?dist}.1
+Release:          %{?_rc||?_beta:0.}1%{?_rc:.rc%{_rc}}%{?_beta:.beta%{_beta}}%{?dist}.2
 # Automatically converted from old format: GPLv2 - review is highly recommended.
 License:          GPL-2.0-only
 URL:              http://www.asterisk.org/
@@ -225,6 +225,7 @@ Provides:         bundled(jansson) = %{jansson_version}
 # for gpg to be able to verify the signature
 BuildRequires:    libgcrypt
 BuildRequires:    make
+BuildRequires:    openpgpverify
 
 
 Requires(post):   systemd-units
@@ -588,7 +589,7 @@ Jabber/XMPP resources for Asterisk.
 %if 0%{?fedora} || 0%{?rhel} >=8
 # only verifying on Fedora and RHEL >=8 due to version of gpg
 rpm -q libgcrypt
-gpgv2 --keyring %{SOURCE7} %{SOURCE1} %{SOURCE0}
+%{openpgpverify} --keyring='%{SOURCE7}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
 %endif
 %autosetup -p1 -n asterisk-%{version}%{?_rc:-rc%{_rc}}%{?_beta:-beta%{_beta}}
 
@@ -1604,6 +1605,9 @@ fi
 %endif
 
 %changelog
+* Fri Nov 06 2026 Jakub Jelen <jjelen@redhat.com> - 24.0.0-1.2
+- Verify upstream source signatures with openpgpverify
+
 * Thu Nov 05 2026 Michel Lind <salimma@fedoraproject.org> - 24.0.0-1.1
 - Rebuild for libical 4.x
 

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

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

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