public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Frank Crawford <frank@crawford.emu.id.au>
To: git-commits@fedoraproject.org
Subject: [rpms/hash-slinger] rawhide: Upgrade to new upstream version and fixes for tlsa
Date: Fri, 31 Jul 2026 04:04:00 GMT [thread overview]
Message-ID: <178547064016.1.1850556772918705780.rpms-hash-slinger-5b02e8420869@fedoraproject.org> (raw)
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
reply other threads:[~2026-07-31 4:04 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=178547064016.1.1850556772918705780.rpms-hash-slinger-5b02e8420869@fedoraproject.org \
--to=frank@crawford.emu.id.au \
--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