From a8e28d475d2f2631a0bdb06733df24b71b1258bf90fafbe9d14d6098f08de016 Mon Sep 17 00:00:00 2001 From: Aaron Puchert Date: Wed, 3 Apr 2024 21:22:04 +0000 Subject: [PATCH] - Use old conflicts/provides for python3-clang on Leap. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm14?expand=0&rev=65 --- llvm14.changes | 5 +++++ llvm14.spec | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/llvm14.changes b/llvm14.changes index 18686e4..1e04327 100644 --- a/llvm14.changes +++ b/llvm14.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/llvm14.spec b/llvm14.spec index 7b7b3cd..a5944a1 100644 --- a/llvm14.spec +++ b/llvm14.spec @@ -679,8 +679,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}