public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/wcd] rawhide: Add a bcond for openpgpverify (still disabled, SHA1)
Date: Sat, 10 Oct 2026 06:58:36 GMT [thread overview]
Message-ID: <179161551623.1.16885520262159121314.rpms-wcd-601005befb79@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/wcd
Branch : rawhide
Commit : 601005befb79494cbdc07a3844ba2c95a13390d8
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-10-10T07:57:16+01:00
Stats : +21/-10 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/wcd/c/601005befb79494cbdc07a3844ba2c95a13390d8?branch=rawhide
Log:
Add a bcond for openpgpverify (still disabled, SHA1)
---
diff --git a/wcd.spec b/wcd.spec
index f89b47a..9323c1a 100644
--- a/wcd.spec
+++ b/wcd.spec
@@ -1,3 +1,14 @@
+# “If the upstream tarball is signed using old keys depending on SHA1 digest or
+# otherwise incompatible with current OpenPGP standard, legacy %%{gpgverify}
+# macro can be used until this is resolved (it has the same API and could be
+# used as a drop-in replacement).”
+#
+# https://docs.fedoraproject.org/en-US/packaging-guidelines/#_verifying_signatures
+#
+# Please avoid using SHA1 to sign releases
+# https://sourceforge.net/p/wcd/feature-requests/16
+%bcond openpgpverify 0
+
Summary: Wherever Change Directory: chdir for DOS and Unix
Name: wcd
Version: 6.0.7
@@ -20,16 +31,11 @@ Source1: %{url}/files/wcd-%{version}.tar.gz.asc
# gpg2 --show-keys wcd.gpg
Source2: wcd.gpg
-# “If the upstream tarball is signed using old keys depending on SHA1 digest or
-# otherwise incompatible with current OpenPGP standard, legacy %%{gpgverify}
-# macro can be used until this is resolved (it has the same API and could be
-# used as a drop-in replacement).”
-#
-# https://docs.fedoraproject.org/en-US/packaging-guidelines/#_verifying_signatures
-#
-# Please avoid using SHA1 to sign releases
-# https://sourceforge.net/p/wcd/feature-requests/16
+%if %{with openpgpverify}
+BuildRequires: openpgpverify
+%else
BuildRequires: gpgverify
+%endif
BuildRequires: make
BuildRequires: gcc
@@ -106,7 +112,12 @@ plain-text documentation files, changelogs, and so on.
%prep
-%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
+%if %{with openpgpverify}
+%{openpgpverify} \
+%else
+%{gpgverify} \
+%endif
+ --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup
reply other threads:[~2026-10-10 6:58 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=179161551623.1.16885520262159121314.rpms-wcd-601005befb79@fedoraproject.org \
--to=code@musicinmybrain.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