291cc45
%clang_major_version @@CLANG_MAJOR_VERSION@@
291cc45
%clang_minor_version @@CLANG_MINOR_VERSION@@
291cc45
%clang_patch_version @@CLANG_PATCH_VERSION@@
291cc45
291cc45
%clang_version %{clang_major_version}.%{clang_minor_version}.%{clang_patch_version}
291cc45
291cc45
# This is the path to the clang resource directory that has clang's internal
291cc45
# headers and libraries.  This path should be used by packages that need to
291cc45
# install files into this directory.  This macro's value changes every time
291cc45
# clang's version changes.
291cc45
%clang_resource_dir %{_libdir}/clang/%{clang_version}
291cc45
291cc45
# This is the path to the clang resource directory that should be used
291cc45
# by packages that need to read files from this directory at runtime.
291cc45
# This macro only changes when clang's major version changes.
291cc45
%clang_resource_dir_readonly %{_libdir}/clang/%{clang_major_version}