diff --git a/py313.patch b/py313.patch deleted file mode 100644 index 8cb470a..0000000 --- a/py313.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 791ffb58cf8b1c09ee4d4a24b47f25e4d826f1e7 Mon Sep 17 00:00:00 2001 -From: frozenIceage -Date: Wed, 27 Nov 2024 11:58:48 +0100 -Subject: [PATCH] fix test failure in PY13 - ---- - osctiny/tests/test_utils.py | 31 ++++++++++++++----------------- - 1 file changed, 14 insertions(+), 17 deletions(-) - -diff --git a/osctiny/tests/test_utils.py b/osctiny/tests/test_utils.py -index 10769f3..2a90ad0 100644 ---- a/osctiny/tests/test_utils.py -+++ b/osctiny/tests/test_utils.py -@@ -245,23 +245,20 @@ def test_write(self): - - self.assertEqual(len(cl.entries), 3) - cl.write(path="/who/cares/test.changes") -- -- self.assertEqual(len(omock.mock_calls), 6) -- content = "".join(str(omock.mock_calls[x][1][0]) -- for x in range(2, 5)) -- -- self.assertEqual( -- content, -- "-------------------------------------------------------------------\n" -- "Tue Jan 01 00:00:00 UTC 2019 - Andreas Hasenkopf \n\n" -- "Føø Bar\n\n" -- "-------------------------------------------------------------------\n" -- "Mon Jan 01 00:00:00 UTC 2018 - Andreas Pritschet \n\n" -- "Hellø Wørld\n\n" -- "-------------------------------------------------------------------\n" -- "Sun Jan 01 00:00:00 UTC 2017 - Andreas Hasenkopf \n\n" -- "First enŧry\n\n" -- ) -+ calls = [ -+ mock.call().write( -+ '-------------------------------------------------------------------\n' -+ 'Tue Jan 01 00:00:00 UTC 2019 - Andreas Hasenkopf ' -+ '\n\nFøø Bar\n\n'), -+ mock.call().write( -+ '-------------------------------------------------------------------\n' -+ 'Mon Jan 01 00:00:00 UTC 2018 - Andreas Pritschet ' -+ '\n\nHellø Wørld\n\n'), -+ mock.call().write( -+ '-------------------------------------------------------------------\n' -+ 'Sun Jan 01 00:00:00 UTC 2017 - Andreas Hasenkopf ' -+ '\n\nFirst enŧry\n\n')] -+ omock.assert_has_calls(calls, any_order=True) - - def test_write_stringio(self): - buffer = StringIO("") diff --git a/python-osc-tiny.changes b/python-osc-tiny.changes index 007d89b..022ea34 100644 --- a/python-osc-tiny.changes +++ b/python-osc-tiny.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 20 12:32:29 UTC 2025 - Chen Huang + +- Remove patch + ------------------------------------------------------------------- Fri Jun 20 12:08:06 UTC 2025 - maintenance-obs-robot diff --git a/python-osc-tiny.spec b/python-osc-tiny.spec index 35ba241..36832f2 100644 --- a/python-osc-tiny.spec +++ b/python-osc-tiny.spec @@ -1,7 +1,7 @@ # # spec file for package python-osc-tiny # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,8 +26,6 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/SUSE/osc-tiny Source: https://files.pythonhosted.org/packages/source/o/osc-tiny/osc_tiny-%{version}.tar.gz -# PATCH-FIX-UPSTREAM https://github.com/SUSE/osc-tiny/pull/204 fix test failure in PY13 -Patch: py313.patch BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module lxml} BuildRequires: %{python_module pip}