mirror of
https://src.fedoraproject.org/rpms/llvm.git
synced 2024-11-28 10:35:42 +00:00
parent
56b99b7123
commit
2d1a77d42a
2 changed files with 4 additions and 2 deletions
|
@ -378,9 +378,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