public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Robert Scheck <robert@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/ethtool] main: Verify source signatures with openpgpverify
Date: Sat, 14 Nov 2026 22:16:50 GMT	[thread overview]
Message-ID: <179469461053.1.13503765619868147846.rpms-ethtool-caa11a113360@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-11-14 22:16 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=179469461053.1.13503765619868147846.rpms-ethtool-caa11a113360@fedoraproject.org \
    --to=robert@fedoraproject.org \
    --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