public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/libidn2] main: Verify source signatures with openpgpverify
@ 2026-11-14 22:11 Robert Scheck
0 siblings, 0 replies; only message in thread
From: Robert Scheck @ 2026-11-14 22:11 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-14 22:11 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:11 [rpms/libidn2] 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