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/libidn2] main: Verify source signatures with openpgpverify
Date: Sat, 14 Nov 2026 22:11:19 GMT	[thread overview]
Message-ID: <179469427905.1.16881258689097712274.rpms-libidn2-839c8ffb5ca3@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/libidn2
Branch : main
Commit : 839c8ffb5ca3eedcf3e174d701d4e99a97778d94
Author : Robert Scheck <robert@fedoraproject.org>
Date   : 2026-11-14T23:10:53+01:00
Stats  : +26/-24 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/libidn2/c/839c8ffb5ca3eedcf3e174d701d4e99a97778d94?branch=main

Log:
Verify source signatures with openpgpverify

---
diff --git a/libidn2.spec b/libidn2.spec
index e505740..ab816fc 100644
--- a/libidn2.spec
+++ b/libidn2.spec
@@ -1,21 +1,23 @@
-Summary:          Library to support IDNA2008 internationalized domain names
-Name:             libidn2
-Version:          2.3.8
-Release:          4%{?dist}
-License:          (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GPL-3.0-or-later
-URL:              https://www.gnu.org/software/libidn/#libidn2
-
-Source0:          https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz
-Source1:          https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz.sig
-Source2:          https://keys.openpgp.org/vks/v1/by-fingerprint/B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE
-
-BuildRequires:    gnupg2
-BuildRequires:    gcc
-BuildRequires:    make
-BuildRequires:    gettext
-BuildRequires:    libunistring-devel
-BuildRequires:    texinfo
-Provides:         bundled(gnulib)
+Summary:        Library to support IDNA2008 internationalized domain names
+Name:           libidn2
+Version:        2.3.8
+Release:        4%{?dist}
+License:        (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GPL-3.0-or-later
+URL:            https://www.gnu.org/software/libidn/#libidn2
+Source0:        https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz
+Source1:        https://ftp.gnu.org/gnu/libidn/%{name}-%{version}.tar.gz.sig
+Source2:        https://keys.openpgp.org/vks/v1/by-fingerprint/B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE
+%if 0%{?fedora} || 0%{?rhel} >= 9
+BuildRequires:  openpgpverify
+%else
+BuildRequires:  gnupg2
+%endif
+BuildRequires:  gcc
+BuildRequires:  make
+BuildRequires:  gettext
+BuildRequires:  libunistring-devel
+BuildRequires:  texinfo
+Provides:       bundled(gnulib)
 
 %description
 Libidn2 is an implementation of the IDNA2008 specifications in RFC
@@ -23,24 +25,24 @@ Libidn2 is an implementation of the IDNA2008 specifications in RFC
 (IDN). It is a standalone library, without any dependency on libidn.
 
 %package devel
-Summary:          Development files for libidn2
-Requires:         %{name}%{?_isa} = %{version}-%{release}, pkgconfig
+Summary:        Development files for libidn2
+Requires:       %{name}%{?_isa} = %{version}-%{release}, pkgconfig
 
 %description devel
 The libidn2-devel package contains libraries and header files for
 developing applications that use libidn2.
 
 %package -n idn2
-Summary:          IDNA2008 internationalized domain names conversion tool
-License:          GPL-3.0-or-later
-Requires:         %{name}%{?_isa} = %{version}-%{release}
+Summary:        IDNA2008 internationalized domain names conversion tool
+License:        GPL-3.0-or-later
+Requires:       %{name}%{?_isa} = %{version}-%{release}
 
 %description -n idn2
 The idn2 package contains the idn2 command line tool for testing
 IDNA2008 conversions.
 
 %prep
-%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
+%{?openpgpverify}%{!?openpgpverify:%{gpgverify}} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
 %setup -q
 
 %build

                 reply	other threads:[~2026-11-14 22:11 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=179469427905.1.16881258689097712274.rpms-libidn2-839c8ffb5ca3@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