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