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

            A new commit has been pushed.

            Repo   : rpms/tpm2-openssl
            Branch : rawhide
            Commit : 9658d50cb09dc0ae8fb06fd49b1c47cc334aca08
            Author : Jakub Jelen <jjelen@redhat.com>
            Date   : 2026-10-29T13:29:59+01:00
            Stats  : +6/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/tpm2-openssl/c/9658d50cb09dc0ae8fb06fd49b1c47cc334aca08?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/tpm2-openssl.spec b/tpm2-openssl.spec
index c7362af..3908954 100644
--- a/tpm2-openssl.spec
+++ b/tpm2-openssl.spec
@@ -1,6 +1,6 @@
 Name:tpm2-openssl
 Version: 1.3.0
-Release: 3%{?candidate:.%{candidate}}%{?dist}
+Release: 4%{?candidate:.%{candidate}}%{?dist}
 Summary: Provider for integration of TPM 2.0 to OpenSSL 3.0
 
 License: BSD-3-Clause
@@ -14,7 +14,7 @@ Source3: run-with-simulator
 # https://github.com/tpm2-software/tpm2-openssl/commit/6dcc3b2
 Patch1: 0001-Fix-ASN1_OCTET_STRING-and-X509_NAME-for-OpenSSL-4.0.patch
 
-BuildRequires: gnupg2
+BuildRequires: openpgpverify
 BuildRequires: gcc
 BuildRequires: make
 BuildRequires: pkg-config
@@ -37,7 +37,7 @@ Makes the TPM 2.0 accessible via the standard OpenSSL API and command line
 tools, adding TPM support to (almost) any OpenSSL 3.0-based application.
 
 %prep
-gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
+%{openpgpverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
 %autosetup -p1 -n %{name}-%{version}%{?candidate:-%{candidate}}
 
 %build
@@ -62,6 +62,9 @@ cp %{SOURCE3} %{_builddir}/%{name}-%{version}%{?candidate:-%{candidate}}/test/
 %{_libdir}/ossl-modules/tpm2.so
 
 %changelog
+* Mon Oct 26 2026 Jakub Jelen <jjelen@redhat.com> - 1.3.0-4
+- Verify upstream source signatures with openpgpverify
+
 * Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

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

only message in thread, other threads:[~2026-11-03 10:44 UTC | newest]

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