public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/tlsh] rawhide: Version 5.0.0
@ 2026-05-31 14:51
0 siblings, 0 replies; only message in thread
From: @ 2026-05-31 14:51 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/tlsh
Branch : rawhide
Commit : 8f133c47b0b7deb66e557c07cd829ce3c2299d3d
Author : Zbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Date : 2026-05-31T16:46:11+02:00
Stats : +3/-90 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/tlsh/c/8f133c47b0b7deb66e557c07cd829ce3c2299d3d?branch=rawhide
Log:
Version 5.0.0
... (rhbz#2437214)
---
diff --git a/.gitignore b/.gitignore
index 5e32572..cb6ab9e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
/tlsh-4.11.2.tar.gz
/tlsh-4.12.0.tar.gz
/tlsh-4.12.1.tar.gz
+/tlsh-5.0.0.tar.gz
diff --git a/0001-python-use-setuptools-instead-of-distutils.patch b/0001-python-use-setuptools-instead-of-distutils.patch
deleted file mode 100644
index dd64c09..0000000
--- a/0001-python-use-setuptools-instead-of-distutils.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From e55891ddea6548d31311c486f3f8ba37b1af84e5 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
-Date: Wed, 22 Feb 2023 15:00:46 +0100
-Subject: [PATCH 1/2] python: use setuptools instead of distutils
-
-distutils was deprecated in python3.10+ and is removed in python3.12.
-Use setuptools instead.
-
-Prompted by: https://bugzilla.redhat.com/show_bug.cgi?id=2154971
-Documentation: https://peps.python.org/pep-0632/#migration-advice
----
- py_ext/setup.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/py_ext/setup.py b/py_ext/setup.py
-index c2160b6ce9..0bc35413b5 100644
---- a/py_ext/setup.py
-+++ b/py_ext/setup.py
-@@ -2,7 +2,7 @@ import os
- import re
- import sys
- from os.path import join, realpath
--from distutils.core import setup, Extension
-+from setuptools import setup, Extension
-
-
-
---
-2.39.1
-
diff --git a/0002-python-drop-pointless-line-continuations.patch b/0002-python-drop-pointless-line-continuations.patch
deleted file mode 100644
index 5676aa1..0000000
--- a/0002-python-drop-pointless-line-continuations.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From 90a088cb234225b6e93f089eb4a0e15d1489286c Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
-Date: Wed, 22 Feb 2023 15:02:59 +0100
-Subject: [PATCH 2/2] python: drop pointless line continuations
-
----
- py_ext/setup.py | 28 ++++++++++++++--------------
- 1 file changed, 14 insertions(+), 14 deletions(-)
-
-diff --git a/py_ext/setup.py b/py_ext/setup.py
-index 0bc35413b5..3142b758dd 100644
---- a/py_ext/setup.py
-+++ b/py_ext/setup.py
-@@ -22,23 +22,23 @@ with open(join(realpath('..'), 'CMakeLists.txt'), 'r') as f:
- tlsh_3b = ''
-
- if os.name == 'nt':
-- tlsh_module = Extension('tlsh', \
-- sources = ['tlshmodule.cpp', \
-- join(realpath('..'), 'src', 'tlsh.cpp'), \
-- join(realpath('..'), 'src', 'tlsh_impl.cpp'), \
-- join(realpath('..'), 'src', 'tlsh_util.cpp') \
-- ], \
-+ tlsh_module = Extension('tlsh',
-+ sources = ['tlshmodule.cpp',
-+ join(realpath('..'), 'src', 'tlsh.cpp'),
-+ join(realpath('..'), 'src', 'tlsh_impl.cpp'),
-+ join(realpath('..'), 'src', 'tlsh_util.cpp'),
-+ ],
- include_dirs = [join(realpath('..'), 'include'),
-- join(realpath('..'), 'Windows')],\
-- define_macros = [('WINDOWS', None),], \
-+ join(realpath('..'), 'Windows')],
-+ define_macros = [('WINDOWS', None),],
- )
- else:
-- tlsh_module = Extension('tlsh', \
-- sources = ['tlshmodule.cpp', \
-- join(realpath('..'), 'src', 'tlsh.cpp'), \
-- join(realpath('..'), 'src', 'tlsh_impl.cpp'), \
-- join(realpath('..'), 'src', 'tlsh_util.cpp') \
-- ], \
-+ tlsh_module = Extension('tlsh',
-+ sources = ['tlshmodule.cpp',
-+ join(realpath('..'), 'src', 'tlsh.cpp'),
-+ join(realpath('..'), 'src', 'tlsh_impl.cpp'),
-+ join(realpath('..'), 'src', 'tlsh_util.cpp'),
-+ ],
- include_dirs = [join(realpath('..'), 'include')],
- )
-
---
-2.39.1
-
diff --git a/sources b/sources
index 3df8bc5..6049c21 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tlsh-4.12.1.tar.gz) = 82d6971baacdede7b4e4fd282d861d264e4ae196d1b5f3ea26648e93c0f0884b90bf9cab4dd1cc0f36fd00fb2e2ca3db8128769725a8858c5fcf48c192f33c45
+SHA512 (tlsh-5.0.0.tar.gz) = ddbeac566adb9ed6d1b7b21e589c94a0b9df0fff720e85029c35f7906391b0f2b646e351325feecffaa4efa9592e1f0d9afd0d4ffea44ca2ffb42b00ed0ea062
diff --git a/tlsh.spec b/tlsh.spec
index 4a4a5d4..b3984dd 100644
--- a/tlsh.spec
+++ b/tlsh.spec
@@ -1,6 +1,6 @@
%undefine __cmake_in_source_build
Name: tlsh
-Version: 4.12.1
+Version: 5.0.0
Release: %autorelease
Summary: Fuzzy text matching library
@@ -8,10 +8,6 @@ License: Apache-2.0
URL: https://github.com/trendmicro/tlsh
Source0: https://github.com/trendmicro/tlsh/archive/%{version}/tlsh-%{version}.tar.gz
-# https://github.com/trendmicro/tlsh/pull/128
-Patch: 0001-python-use-setuptools-instead-of-distutils.patch
-Patch: 0002-python-drop-pointless-line-continuations.patch
-
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: python3-devel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-31 14:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31 14:51 [rpms/tlsh] rawhide: Version 5.0.0
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox