Blame SOURCES/macros.clang

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