From 548393390e0ed4452d81ccd59318d38da4002c0a079f556931673b574b6feaa7 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 18 Jun 2025 14:27:12 +0000 Subject: [PATCH] - Use better expression to get version. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ansi2html?expand=0&rev=21 --- opensuse-test.patch | 4 ++-- python-ansi2html.changes | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/opensuse-test.patch b/opensuse-test.patch index 429fd58..3a5006a 100644 --- a/opensuse-test.patch +++ b/opensuse-test.patch @@ -5,12 +5,12 @@ Index: ansi2html-1.9.2/tests/test_ansi2html.py =================================================================== --- ansi2html-1.9.2.orig/tests/test_ansi2html.py 2024-06-22 19:22:24.000000000 +0200 -+++ ansi2html-1.9.2/tests/test_ansi2html.py 2025-06-17 22:27:11.354092953 +0200 ++++ ansi2html-1.9.2/tests/test_ansi2html.py 2025-06-18 16:25:45.121652936 +0200 @@ -50,6 +50,7 @@ class TestAnsi2HTML: maxDiff = None -+ cmd_exe = "ansi2html-" + '.'.join([str(x) for x in sys.version_info[:2]]) ++ cmd_exe = "ansi2html-%d.%d" % sys.version_info[:2] def test_linkify(self) -> None: ansi = "http://threebean.org#foobar" diff --git a/python-ansi2html.changes b/python-ansi2html.changes index e2176a8..83caad8 100644 --- a/python-ansi2html.changes +++ b/python-ansi2html.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 18 14:27:04 UTC 2025 - Matej Cepl + +- Use better expression to get version. + ------------------------------------------------------------------- Tue Jun 17 20:29:28 UTC 2025 - Matej Cepl