From 631a2f651a65e368e1f8e96d80bc1818aa2a8403 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 11 May 2023 20:09:04 -0700 Subject: [PATCH] Fix clang_resource_dir macro Resolves: rhbz#2196758 --- clang.spec | 5 ++++- macros.clang | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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.