public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Felix Kaechele <felix@kaechele.ca>
To: git-commits@fedoraproject.org
Subject: [rpms/nginx] f44: use openpgpverify on Fedora 43+
Date: Wed, 14 Oct 2026 22:54:47 GMT	[thread overview]
Message-ID: <179201848728.1.1679510248440433666.rpms-nginx-f4eee88ff9f4@fedoraproject.org> (raw)

            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} .
 

                 reply	other threads:[~2026-10-14 22:54 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=179201848728.1.1679510248440433666.rpms-nginx-f4eee88ff9f4@fedoraproject.org \
    --to=felix@kaechele.ca \
    --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