diff --git a/clang.spec b/clang.spec index 2985c8e..0bc9bae 100644 --- a/clang.spec +++ b/clang.spec @@ -42,7 +42,7 @@ Name: %pkg_name Version: %{clang_version}%{?rc_ver:~rc%{rc_ver}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: A C language family front-end for LLVM License: NCSA @@ -624,6 +624,9 @@ false %endif %changelog +* Fri May 12 2023 Tom Stellard - 16.0.0-2 +- Fix clang_resource_dir macro + * Fri Apr 28 2023 Tom Stellard - 16.0.0-1 - 16.0.0 Release diff --git a/macros.clang b/macros.clang index 1f26e35..6f35452 100644 --- a/macros.clang +++ b/macros.clang @@ -8,7 +8,7 @@ # 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. -%clang_resource_dir %{_libdir}/clang/%{clang_version} +%clang_resource_dir %{_libdir}/clang/%{clang_major_version} # 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.