diff --git a/pyicu-2.15-gcc15.patch b/pyicu-2.15-gcc15.patch deleted file mode 100644 index 0c44290..0000000 --- a/pyicu-2.15-gcc15.patch +++ /dev/null @@ -1,29 +0,0 @@ - -gitlab.pyicu.org/main/pyicu/-/issues/173 -gitlab.pyicu.org/main/pyicu/-/commit/82fa082 - -From 82fa082b149db81c894e0d887c0fff67c3d2826f Mon Sep 17 00:00:00 2001 -From: Andi Vajda -Date: Mon, 5 May 2025 18:55:09 -0700 -Subject: [PATCH] switch to is_trivially_copyable for sake of g++ 15+ - ---- - arg.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/arg.h b/arg.h -index 5cabfaf..35a7b62 100644 ---- a/arg.h -+++ b/arg.h -@@ -853,7 +853,7 @@ public: - }; - - #define _IS_POD(T) \ -- static_assert(std::is_trivial::value); \ -+ static_assert(std::is_trivially_copyable::value); \ - static_assert(std::is_standard_layout::value) - - _IS_POD(AnyPythonObject); --- -GitLab - diff --git a/pyicu-2.15.2.tar.gz b/pyicu-2.15.2.tar.gz deleted file mode 100644 index 1344db1..0000000 --- a/pyicu-2.15.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:561e77eedff17cec6839f26211f7a5ce3c071b776e8a0ec9d1207f46cbce598f -size 267721 diff --git a/pyicu-2.15.3.tar.gz b/pyicu-2.15.3.tar.gz new file mode 100644 index 0000000..4fcd360 --- /dev/null +++ b/pyicu-2.15.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f32e78e1cb64d0aeb14f027e037a8944861d3114548818a6adf0081ef51aefc3 +size 267569 diff --git a/python-PyICU.changes b/python-PyICU.changes index 5eb90f5..67c4815 100644 --- a/python-PyICU.changes +++ b/python-PyICU.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Sep 25 10:46:41 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 2.15.3 + * switch pl2cpa to new[] + * replaced uses of calloc with std::unique_ptr<[]> + * changed pl2cpa into template returning std::unique_ptr + * switch to is_trivially_copyable for sake of g++ 15+ + * added wrapper for ES_PUNCTUATION + * added wrapper for UProperty.DEPRECATED + * drop trainling space from INVALID_CODE wrapper +- Drop pyicu-2.15-gcc15.patch, merged upstream + ------------------------------------------------------------------- Tue May 6 09:30:09 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-PyICU.spec b/python-PyICU.spec index 55329d7..ec50f76 100644 --- a/python-PyICU.spec +++ b/python-PyICU.spec @@ -19,7 +19,7 @@ %global modname PyICU %{?sle15_python_module_pythons} Name: python-%{modname} -Version: 2.15.2 +Version: 2.15.3 Release: 0 Summary: Python Extension Wrapping the ICU C++ API License: MIT @@ -28,8 +28,6 @@ Source0: https://files.pythonhosted.org/packages/source/p/pyicu/pyicu-%{v # PATCH-FEATURE-UPSTREAM remove_six.patch mcepl@suse.com # Remove dependency on six Patch0: remove_six.patch -# PATCH-FIX-UPSTREAM pyicu-2.15-gcc15.patch -Patch1: pyicu-2.15-gcc15.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest}