2021-02-10 00:50:31 +00:00
|
|
|
%clang_major_version @@CLANG_MAJOR_VERSION@@
|
|
|
|
%clang_minor_version @@CLANG_MINOR_VERSION@@
|
|
|
|
%clang_patch_version @@CLANG_PATCH_VERSION@@
|
|
|
|
|
|
|
|
%clang_version %{clang_major_version}.%{clang_minor_version}.%{clang_patch_version}
|
|
|
|
|
|
|
|
# This is the path to the clang resource directory that has clang's internal
|
|
|
|
# headers and libraries. This path should be used by packages that need to
|
|
|
|
# install files into this directory. This macro's value changes every time
|
|
|
|
# clang's version changes.
|
2023-03-14 20:10:39 +00:00
|
|
|
%clang_resource_dir %{_libdir}/clang/%{clang_major_version}
|
2021-02-10 00:50:31 +00:00
|
|
|
|
|
|
|
# This is the path to the clang resource directory that should be used
|
|
|
|
# by packages that need to read files from this directory at runtime.
|
|
|
|
# This macro only changes when clang's major version changes.
|
|
|
|
%clang_resource_dir_readonly %{_libdir}/clang/%{clang_major_version}
|