From a4d77d580fe94176221685dfb8f00aa16d4b1d94 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 2 Sep 2024 08:01:03 +0000 Subject: [PATCH] Fix libscanbuild/libear location https://github.com/llvm/llvm-project/pull/106612 moved these from lib64 to lib, so look for them there. --- install.spec.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.spec.inc b/install.spec.inc index 204781b..4e60ad5 100644 --- a/install.spec.inc +++ b/install.spec.inc @@ -90,7 +90,7 @@ install -p -m644 clang/bindings/python/clang/* %{buildroot}%{python3_sitelib}/cl %py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}/clang # install scanbuild-py to python sitelib. -mv %{buildroot}%{_prefix}/%{_lib}/{libear,libscanbuild} %{buildroot}%{python3_sitelib} +mv %{buildroot}%{_prefix}/lib/{libear,libscanbuild} %{buildroot}%{python3_sitelib} # Cannot use {libear,libscanbuild} style expansion in py_byte_compile. %py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}/libear %py_byte_compile %{__python3} %{buildroot}%{python3_sitelib}/libscanbuild