Blame SOURCES/macros.clang

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