public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/tin] epel10.2: Revert "Remove gunpg 1 based verification as it does not work anymore"
@ 2026-08-23 23:20 Dominik 'Rathann' Mierzejewski
  0 siblings, 0 replies; only message in thread
From: Dominik 'Rathann' Mierzejewski @ 2026-08-23 23:20 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-23 23:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-23 23:20 [rpms/tin] epel10.2: Revert "Remove gunpg 1 based verification as it does not work anymore" Dominik 'Rathann' Mierzejewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox