Fix name of macros file

This commit is contained in:
Nikita Popov 2024-08-01 09:59:21 +00:00 committed by Timm Bäder
parent 1fc607d3b7
commit e481d54052

View File

@ -185,7 +185,7 @@ 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}
echo "%%clang%{maj_ver}_resource_dir %%{_prefix}/lib/clang/%{maj_ver}" >> %{buildroot}%{_rpmmacrodir}/macros.%{pkg_name_clang}
# Install config file for clang
%if %{maj_ver} >=18