clang/SOURCES/macros.clang

17 lines
810 B
Plaintext
Raw Normal View History

2022-05-17 08:50:18 +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-11-07 11:43:07 +00:00
%clang_resource_dir %{_libdir}/clang/%{clang_major_version}
2022-05-17 08:50:18 +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}