From dd7c1378035b23fe435a7375bffef6433f6af0cf0a4c1b7f9184c6a64d742135 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 1 Apr 2025 12:50:40 +0000 Subject: [PATCH] - Wrap the metadata directory name in a distro-based conditional OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=42 --- python-PyICU.changes | 5 +++++ python-PyICU.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/python-PyICU.changes b/python-PyICU.changes index 5e2e822..8d1f67b 100644 --- a/python-PyICU.changes +++ b/python-PyICU.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 1 12:50:14 UTC 2025 - Markéta Machová + +- Wrap the metadata directory name in a distro-based conditional + ------------------------------------------------------------------- Tue Mar 25 04:31:02 UTC 2025 - Steve Kowalik diff --git a/python-PyICU.spec b/python-PyICU.spec index 7360c26..1377e1e 100644 --- a/python-PyICU.spec +++ b/python-PyICU.spec @@ -71,6 +71,10 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" %license LICENSE %doc CHANGES CREDITS README.md %{python_sitearch}/icu +%if 0%{?suse_version} > 1600 %{python_sitearch}/pyicu-%{version}.dist-info +%else +%{python_sitearch}/PyICU-%{version}.dist-info +%endif %changelog