jcheca / rpms / clang

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