parent
ba868932ac
commit
52ddcd59f5
@ -376,9 +376,7 @@
|
|||||||
%dir %{install_prefix}/lib/clang/%{maj_ver}/include/
|
%dir %{install_prefix}/lib/clang/%{maj_ver}/include/
|
||||||
%dir %{install_prefix}/lib/clang/%{maj_ver}/lib/
|
%dir %{install_prefix}/lib/clang/%{maj_ver}/lib/
|
||||||
%dir %{install_prefix}/lib/clang/%{maj_ver}/share/
|
%dir %{install_prefix}/lib/clang/%{maj_ver}/share/
|
||||||
%if %{without compat_build}
|
|
||||||
%{_rpmmacrodir}/macros.%{pkg_name_clang}
|
%{_rpmmacrodir}/macros.%{pkg_name_clang}
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -n %{pkg_name_clang}-analyzer
|
%files -n %{pkg_name_clang}-analyzer
|
||||||
%license clang/LICENSE.TXT
|
%license clang/LICENSE.TXT
|
||||||
|
@ -195,6 +195,10 @@ rm -vf %{buildroot}%{_datadir}/clang/bash-autocomplete.sh
|
|||||||
# populated by other packages
|
# populated by other packages
|
||||||
mkdir -p %{buildroot}%{_prefix}/lib/clang/%{maj_ver}/{bin,include,lib,share}/
|
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
|
# Install config file for clang
|
||||||
%if %{maj_ver} >=18
|
%if %{maj_ver} >=18
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/%{pkg_name_clang}/
|
mkdir -p %{buildroot}%{_sysconfdir}/%{pkg_name_clang}/
|
||||||
|
Loading…
Reference in New Issue
Block a user