Fix name of macros file

This commit is contained in:
Nikita Popov 2024-08-01 09:59:21 +00:00
parent 18c2b72a76
commit 323c072a4c

View file

@ -185,7 +185,7 @@ mkdir -p %{buildroot}%{_prefix}/lib/clang/%{maj_ver}/{bin,include,lib,share}/
# Add versioned resource directory macro # Add versioned resource directory macro
mkdir -p %{buildroot}%{_rpmmacrodir}/ 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 # Install config file for clang
%if %{maj_ver} >=18 %if %{maj_ver} >=18