public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ethtool] main: Verify source signatures with openpgpverify
@ 2026-11-14 22:16 Robert Scheck
  0 siblings, 0 replies; only message in thread
From: Robert Scheck @ 2026-11-14 22:16 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ethtool
Branch : main
Commit : caa11a1133601adf5f66effba37d6b59dd305f62
Author : Robert Scheck <robert@fedoraproject.org>
Date   : 2026-11-14T23:16:27+01:00
Stats  : +5/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/ethtool/c/caa11a1133601adf5f66effba37d6b59dd305f62?branch=main

Log:
Verify source signatures with openpgpverify

---
diff --git a/ethtool.spec b/ethtool.spec
index 6bd2c39..f4f0afd 100644
--- a/ethtool.spec
+++ b/ethtool.spec
@@ -11,7 +11,11 @@ URL:            https://www.kernel.org/pub/software/network/%{name}/
 Source0:        https://www.kernel.org/pub/software/network/%{name}/%{name}-%{version}.tar.xz
 Source1:        https://www.kernel.org/pub/software/network/%{name}/%{name}-%{version}.tar.sign
 Source2:        https://keys.openpgp.org/vks/v1/by-fingerprint/D2CB120AB45957B721CD9596F4554567B91DE934
+%if 0%{?fedora} || 0%{?rhel} >= 9
+BuildRequires:  openpgpverify, xz
+%else
 BuildRequires:  gnupg2, xz
+%endif
 BuildRequires:  gcc
 BuildRequires:  libappstream-glib
 BuildRequires:  libmnl-devel
@@ -24,7 +28,7 @@ port, auto-negotiation, PCI locations and checksum offload on many
 network devices, especially of Ethernet devices.
 
 %prep
-xzcat '%{SOURCE0}' | %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data=-
+xzcat '%{SOURCE0}' | %{?openpgpverify}%{!?openpgpverify:%{gpgverify}} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data=-
 %autosetup
 
 %build

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-14 22:16 [rpms/ethtool] main: Verify source signatures with openpgpverify Robert Scheck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox