From 3a3db567ff6255cbcab637d6e35c0e75ecb482c3c2e125175e13d2d1c35dce96 Mon Sep 17 00:00:00 2001 From: Aaron Puchert Date: Fri, 16 Jun 2023 01:13:48 +0000 Subject: [PATCH] - Fix conflicts/provides for python3-clang to point to %python3_sitelib instead of %python3_sitearch. OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=37 --- llvm13.changes | 6 +++--- llvm13.spec | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/llvm13.changes b/llvm13.changes index 7ddb82e..dada436 100644 --- a/llvm13.changes +++ b/llvm13.changes @@ -1,8 +1,8 @@ ------------------------------------------------------------------- -Thu Jun 15 21:50:12 UTC 2023 - Aaron Puchert +Thu Jun 15 23:45:39 UTC 2023 - Aaron Puchert -- Don't declare python3-clang as noarch: Python packages are - installed into %{_libdir}. +- Fix conflicts/provides for python3-clang to point to + %python3_sitelib instead of %python3_sitearch. ------------------------------------------------------------------- Tue May 9 21:37:34 UTC 2023 - Aaron Puchert diff --git a/llvm13.spec b/llvm13.spec index ef583a9..06d52b5 100644 --- a/llvm13.spec +++ b/llvm13.spec @@ -463,8 +463,9 @@ Summary: Python bindings for libclang Group: Development/Libraries/Python Requires: libclang%{_soclang} >= %{version} Requires: python3-base -Conflicts: %{python3_sitearch}/clang/ -Provides: %{python3_sitearch}/clang/ +Conflicts: %{python3_sitelib}/clang/ +Provides: %{python3_sitelib}/clang/ +BuildArch: noarch %description -n python3-clang%{_sonum} This package contains the Python bindings to clang (C language)