public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/nginx] f44: use openpgpverify on Fedora 43+
@ 2026-10-14 22:54 Felix Kaechele
0 siblings, 0 replies; only message in thread
From: Felix Kaechele @ 2026-10-14 22:54 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/nginx
Branch : f44
Commit : f4eee88ff9f46fd2ad6ec24215b2fa6f0b4731ae
Author : Felix Kaechele <felix@kaechele.ca>
Date : 2026-10-09T13:50:47-04:00
Stats : +8/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/nginx/c/f4eee88ff9f46fd2ad6ec24215b2fa6f0b4731ae?branch=f44
Log:
use openpgpverify on Fedora 43+
Signed-off-by: Felix Kaechele <felix@kaechele.ca>
---
diff --git a/nginx.spec b/nginx.spec
index 8fd716a..c89caec 100644
--- a/nginx.spec
+++ b/nginx.spec
@@ -108,7 +108,11 @@ Patch4: 0005-Compile-perl-module-with-O2.patch
BuildRequires: make
BuildRequires: gcc
+%if 0%{?fedora} > 42
+BuildRequires: openpgpverify
+%else
BuildRequires: gnupg2
+%endif
%if 0%{?with_gperftools}
BuildRequires: gperftools-devel
%endif
@@ -272,7 +276,11 @@ BuildRequires: zlib-devel
%prep
# Combine all keys from upstream into one file
cat %{S:3} %{S:4} %{S:5} %{S:6} > %{_builddir}/%{name}.gpg
+%if 0%{?fedora} > 42
+%{openpgpverify} --keyring='%{_builddir}/%{name}.gpg' --signature='%{SOURCE1}' --data='%{SOURCE0}'
+%else
%{gpgverify} --keyring='%{_builddir}/%{name}.gpg' --signature='%{SOURCE1}' --data='%{SOURCE0}'
+%endif
%autosetup -p1
cp %{SOURCE200} %{SOURCE10} %{SOURCE12} %{SOURCE18} %{SOURCE220} .
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-14 22:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-14 22:54 [rpms/nginx] f44: use openpgpverify on Fedora 43+ Felix Kaechele
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox