From 8e7cc4af9d3691d0ca7d07f89913ab025aadb10a Mon Sep 17 00:00:00 2001 From: Tulio Magno Quites Machado Filho Date: Tue, 19 Sep 2023 11:21:13 -0300 Subject: [PATCH] Move macros.clang to resource-filesystem This is part of the Fedora change approved [1] which states the following: The macros.clang file with RPM macros will be moved from the clang-devel package to the clang-resource-filesystem package. [1] https://fedoraproject.org/wiki/Changes/LLVM-17 --- clang.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/clang.spec b/clang.spec index 697256e..4b38d62 100644 --- a/clang.spec +++ b/clang.spec @@ -55,7 +55,7 @@ Name: %pkg_name Version: %{clang_version}%{?rc_ver:~rc%{rc_ver}}%{?llvm_snapshot_version_suffix:~%{llvm_snapshot_version_suffix}} -Release: 2%{?dist} +Release: 3%{?dist} Summary: A C language family front-end for LLVM License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -554,7 +554,6 @@ false %{_libdir}/cmake/* %{_bindir}/clang-tblgen %dir %{_datadir}/clang/ -%{_rpmmacrodir}/macros.%{name} %else %{install_libdir}/*.so %{pkg_includedir}/clang/ @@ -569,8 +568,10 @@ false %dir %{install_prefix}/lib/clang/%{maj_ver}/include/ %dir %{install_prefix}/lib/clang/%{maj_ver}/lib/ %dir %{install_prefix}/lib/clang/%{maj_ver}/share/ - %if %{without compat_build} +%{_rpmmacrodir}/macros.%{name} + + %files analyzer %{_bindir}/scan-view %{_bindir}/scan-build @@ -645,6 +646,9 @@ false %endif %changelog +* Tue Sep 19 2023 Tulio Magno Quites Machado Filho - 17.0.0~rc4-3 +- Move macros.clang to resource-filesystem + * Mon Sep 18 2023 Alessandro Astone - 17.0.0~rc4-2 - Fix resource-filesystem after https://fedoraproject.org/wiki/Changes/LLVM-17