diff --git a/D155192.diff b/D155192.diff new file mode 100644 index 0000000..d53698c --- /dev/null +++ b/D155192.diff @@ -0,0 +1,12 @@ +diff --git a/clang/tools/scan-view/bin/scan-view b/clang/tools/scan-view/bin/scan-view +--- a/clang/tools/scan-view/bin/scan-view ++++ b/clang/tools/scan-view/bin/scan-view +@@ -6,7 +6,6 @@ + """ + + import sys +-import imp + import os + import posixpath + import threading + diff --git a/clang.spec b/clang.spec index d03062d..1654eca 100644 --- a/clang.spec +++ b/clang.spec @@ -43,7 +43,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: Apache-2.0 WITH LLVM-exception OR NCSA @@ -75,6 +75,9 @@ Patch8: D138472.diff Patch10: fix-ieee128-cross.diff +# https://reviews.llvm.org/D155192 +Patch11: D155192.diff + # RHEL specific patches # Avoid unwanted dependency on python-recommonmark Patch101: 0009-disable-recommonmark.patch @@ -610,6 +613,9 @@ false %endif %changelog +* Wed Jul 12 2023 Tulio Magno Quites Machado Filho - 16.0.6-2 +- Fix rhbz#2221585 + * Fri Jun 16 2023 Tulio Magno Quites Machado Filho - 16.0.6-1 - Update to LLVM 16.0.6