diff --git a/add-missing-xcg.patch b/add-missing-currencies.patch similarity index 68% rename from add-missing-xcg.patch rename to add-missing-currencies.patch index 257fb52..a6234bb 100644 --- a/add-missing-xcg.patch +++ b/add-missing-currencies.patch @@ -10,3 +10,9 @@ Index: py-moneyed-3.0/src/moneyed/classes.py XDR = add_currency("XDR", "960") XFO = add_currency("XFO", None) XFU = add_currency("XFU", None) +@@ -744,4 +745,5 @@ XXX = add_currency( + YER = add_currency("YER", "886", 100) + ZAR = add_currency("ZAR", "710", 100) + ZMW = add_currency("ZMW", "967", 100) ++ZWG = add_currency("ZWG", "924", 100) + ZWN = add_currency("ZWN", "942", 100) diff --git a/python-py-moneyed.changes b/python-py-moneyed.changes index ca2e465..f232e06 100644 --- a/python-py-moneyed.changes +++ b/python-py-moneyed.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Feb 14 04:29:31 UTC 2025 - Steve Kowalik + +- Drop patch add-missing-xcg.patch, subsumed into: +- Add patch add-missing-currencies.patch: + * Support the Zimbabwean ZiG (ZWG) as well. + ------------------------------------------------------------------- Wed Dec 11 01:37:46 UTC 2024 - Steve Kowalik diff --git a/python-py-moneyed.spec b/python-py-moneyed.spec index ba7a94f..a046714 100644 --- a/python-py-moneyed.spec +++ b/python-py-moneyed.spec @@ -1,7 +1,7 @@ # # spec file for package python-py-moneyed # -# 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 @@ -24,7 +24,8 @@ License: BSD-3-Clause URL: https://github.com/limist/py-moneyed Source: https://github.com/py-moneyed/py-moneyed/archive/refs/tags/v%{version}.tar.gz#/py-moneyed-%{version}.tar.gz # PATCH-FIX-OPENSUSE Add XCG -- Caribbean guilder -Patch0: add-missing-xcg.patch +# ZWG -- Zimbabwean ZiG +Patch0: add-missing-currencies.patch BuildRequires: %{python_module base >= 3.6} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools}