Fix clang_resource_dir macro

Resolves: rhbz#2196758
This commit is contained in:
Tom Stellard 2023-05-11 20:09:04 -07:00
parent e7d9307017
commit 631a2f651a
2 changed files with 5 additions and 2 deletions

View File

@ -42,7 +42,7 @@
Name: %pkg_name Name: %pkg_name
Version: %{clang_version}%{?rc_ver:~rc%{rc_ver}} Version: %{clang_version}%{?rc_ver:~rc%{rc_ver}}
Release: 1%{?dist} Release: 2%{?dist}
Summary: A C language family front-end for LLVM Summary: A C language family front-end for LLVM
License: NCSA License: NCSA
@ -624,6 +624,9 @@ false
%endif %endif
%changelog %changelog
* Fri May 12 2023 Tom Stellard <tstellar@redhat.com> - 16.0.0-2
- Fix clang_resource_dir macro
* Fri Apr 28 2023 Tom Stellard <tstelar@redhat.com> - 16.0.0-1 * Fri Apr 28 2023 Tom Stellard <tstelar@redhat.com> - 16.0.0-1
- 16.0.0 Release - 16.0.0 Release

View File

@ -8,7 +8,7 @@
# headers and libraries. This path should be used by packages that need to # 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 # install files into this directory. This macro's value changes every time
# clang's version changes. # 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 # 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. # by packages that need to read files from this directory at runtime.