public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/wcd] rawhide: Add a bcond for openpgpverify (still disabled, SHA1)
@ 2026-10-10 6:58 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-10 6:58 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-10 6:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-10 6:58 [rpms/wcd] rawhide: Add a bcond for openpgpverify (still disabled, SHA1) Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox