public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
To: git-commits@fedoraproject.org
Subject: [rpms/tin] epel10.2: Revert "Remove gunpg 1 based verification as it does not work anymore"
Date: Sun, 23 Aug 2026 23:20:19 GMT	[thread overview]
Message-ID: <178752721962.1.15020049579127926366.rpms-tin-8b13f1b58cad@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/tin
            Branch : epel10.2
            Commit : 8b13f1b58cad2a8815750622f9e514480b99a064
            Author : Dominik 'Rathann' Mierzejewski <dominik@greysector.net>
            Date   : 2021-11-05T23:37:24+01:00
            Stats  : +7/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/tin/c/8b13f1b58cad2a8815750622f9e514480b99a064?branch=epel10.2

            Log:
            Revert "Remove gunpg 1 based verification as it does not work anymore"

This reverts commit 4cb44027fd5ad75c14b32e2e4bdaccf417354900.

---
diff --git a/tin.spec b/tin.spec
index 1151a91..f479029 100644
--- a/tin.spec
+++ b/tin.spec
@@ -9,8 +9,9 @@ Source1: ftp://ftp.tin.org/pub/news/clients/tin/stable/tin-%{version}.tar.xz.sig
 Source2: tin-pgp-key-0x5A49550EB490B4D1.txt
 BuildRequires: make
 BuildRequires: %{_bindir}/ispell
-BuildRequires: gcc-c++
+BuildRequires:  gcc-c++
 BuildRequires: gettext
+BuildRequires: %{_bindir}/gpg1
 BuildRequires: ncurses-devel, byacc, pcre-devel, gnupg2
 BuildRequires: perl-generators
 BuildRequires: libgsasl-devel
@@ -25,6 +26,11 @@ server.
 Install tin if you need a basic news reader.
 
 %prep
+workdir=$(mktemp --directory)
+workring=${workdir}/keyring.gpg
+gpg1 --homedir=${workdir} --pgp2 --yes --output="${workring}" --dearmor %{S:2}
+gpg1 --homedir=${workdir} --pgp2 --verify --keyring="${workring}" %{S:1} %{S:0}
+rm -r ${workdir}
 %setup -q
 
 %build

                 reply	other threads:[~2026-08-23 23:20 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=178752721962.1.15020049579127926366.rpms-tin-8b13f1b58cad@fedoraproject.org \
    --to=dominik@greysector.net \
    --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