From 5858c6c9d85072731757516376c2d866bf711fbff177bf99609a1ddfbee2b478 Mon Sep 17 00:00:00 2001 From: Aaron Puchert Date: Wed, 3 Apr 2024 21:17:46 +0000 Subject: [PATCH] - Use old conflicts/provides for python3-clang on Leap. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm15?expand=0&rev=37 --- llvm15.changes | 5 +++++ llvm15.spec | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/llvm15.changes b/llvm15.changes index 12ea80c..cc66450 100644 --- a/llvm15.changes +++ b/llvm15.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/llvm15.spec b/llvm15.spec index 1523b70..8e7c5fd 100644 --- a/llvm15.spec +++ b/llvm15.spec @@ -688,8 +688,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}