From ceafba1a4253c5d06c07f66e9a079ed5722761ea96a33db5657ddd5f03f783f9 Mon Sep 17 00:00:00 2001 From: Aaron Puchert Date: Wed, 3 Apr 2024 21:10:17 +0000 Subject: [PATCH] - Use old conflicts/provides for python3-clang on Leap. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=26 --- llvm17.changes | 5 +++++ llvm17.spec | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/llvm17.changes b/llvm17.changes index 041adce..cb4e34c 100644 --- a/llvm17.changes +++ b/llvm17.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 20:18:07 UTC 2024 - Aaron Puchert + +- Use old conflicts/provides for python3-clang on Leap. + ------------------------------------------------------------------- Wed Mar 6 03:20:24 UTC 2024 - Michael Gorse diff --git a/llvm17.spec b/llvm17.spec index ba65647..c548853 100644 --- a/llvm17.spec +++ b/llvm17.spec @@ -704,8 +704,13 @@ Summary: Python bindings for libclang Group: Development/Libraries/Python Requires: libclang%{_soclang} >= %{version} Requires: python3-base +%if %{suse_version} > 1500 Conflicts: %{python3_sitelib}/clang/ Provides: %{python3_sitelib}/clang/ +%else +Conflicts: %{python3_sitearch}/clang/ +Provides: %{python3_sitearch}/clang/ +%endif BuildArch: noarch %description -n python3-clang%{_sonum}