public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hash-slinger] rawhide: Upgrade to new upstream version and fixes for tlsa
@ 2026-07-31 4:04 Frank Crawford
0 siblings, 0 replies; only message in thread
From: Frank Crawford @ 2026-07-31 4:04 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hash-slinger
Branch : rawhide
Commit : 5b02e8420869593b62d92edb4f90fa8e5c6d721e
Author : Frank Crawford <frank@crawford.emu.id.au>
Date : 2026-07-31T14:03:43+10:00
Stats : +23/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/hash-slinger/c/5b02e8420869593b62d92edb4f90fa8e5c6d721e?branch=rawhide
Log:
Upgrade to new upstream version and fixes for tlsa
---
diff --git a/hash-slinger.spec b/hash-slinger.spec
index 02668b0..9f18816 100644
--- a/hash-slinger.spec
+++ b/hash-slinger.spec
@@ -3,19 +3,34 @@
Summary: Generate and verify various DNS records such as SSHFP, TLSA and OPENPGPKEY
Name: hash-slinger
Version: 3.6
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL-2.0-or-later
Url: https://github.com/letoams/%{name}/
-Source: %{url}archive/%{version}/%{name}-%{version}.tar.gz
+Source0: %{url}archive/%{version}/%{name}-%{version}.tar.gz
+# back port tlsa from v3.4 for RHEL systems as python < 3.13 except RHEL10
+# https://github.com/letoams/hash-slinger/issues/54
+Source1: tlsa-v3.4
%if %{with man}
# Only to regenerate the man page, which is shipped per default
Buildrequires: xmlto
%endif
BuildRequires: python3-devel, make
+%if 0%{?rhel} && 0%{?rhel} <= 9
Requires: python3 >= 3.4
+%else
+%if 0%{?rhel} == 10
+# This is not quite right for tlsa, but will work for most uses
+Requires: python3 >= 3.12
+%else
+Requires: python3 >= 3.13
+%endif
+%endif
Requires: python3-dns, python3-unbound
Requires: openssh-clients >= 4, python3-gnupg >= 0.3.7
Requires: python3-cryptography
+%if 0%{?rhel} && 0%{?rhel} <= 9
+Requires: python3-m2crypto
+%endif
BuildArch: noarch
Obsoletes: sshfp < 2.0
Provides: sshfp = %{version}
@@ -35,6 +50,9 @@ This package has incorporated the old 'sshfp' and 'swede' commands/packages
%prep
%autosetup -p1
+%if 0%{?rhel} && 0%{?rhel} <= 9
+cp %{SOURCE1} tlsa
+%endif
%build
%make_build all
@@ -49,6 +67,9 @@ This package has incorporated the old 'sshfp' and 'swede' commands/packages
%doc %{_mandir}/man1/*
%changelog
+* Fri Jul 31 2026 Frank Crawford <frank@crawford.emu.id.au> - 3.6-2
+- Backport tlsa from v3.4 for older RHEL systems as python < 3.13
+
* Sat Jul 25 2026 Frank Crawford <frank@crawford.emu.id.au> - 3.6-1
- Updated to 3.6
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-31 4:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-31 4:04 [rpms/hash-slinger] rawhide: Upgrade to new upstream version and fixes for tlsa Frank Crawford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox