mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-24 09:32:42 +00:00
parent
ba868932ac
commit
52ddcd59f5
2 changed files with 4 additions and 2 deletions
|
@ -376,9 +376,7 @@
|
|||
%dir %{install_prefix}/lib/clang/%{maj_ver}/include/
|
||||
%dir %{install_prefix}/lib/clang/%{maj_ver}/lib/
|
||||
%dir %{install_prefix}/lib/clang/%{maj_ver}/share/
|
||||
%if %{without compat_build}
|
||||
%{_rpmmacrodir}/macros.%{pkg_name_clang}
|
||||
%endif
|
||||
|
||||
%files -n %{pkg_name_clang}-analyzer
|
||||
%license clang/LICENSE.TXT
|
||||
|
|
|
@ -195,6 +195,10 @@ rm -vf %{buildroot}%{_datadir}/clang/bash-autocomplete.sh
|
|||
# populated by other packages
|
||||
mkdir -p %{buildroot}%{_prefix}/lib/clang/%{maj_ver}/{bin,include,lib,share}/
|
||||
|
||||
#Add versioned resource directory macro
|
||||
mkdir -p %{buildroot}%{_rpmmacrodir}/
|
||||
echo "%%clang%{maj_ver}_resource_dir %%{_prefix}/lib/clang/%{maj_ver}" >> %{buildroot}%{_rpmmacrodir}/macros.%{name}
|
||||
|
||||
# Install config file for clang
|
||||
%if %{maj_ver} >=18
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/%{pkg_name_clang}/
|
||||
|
|
Loading…
Reference in a new issue