Fix rhbz#2221585

Module imp got removed from Python 3.12.

Source: https://docs.python.org/3/library/imp.html
This commit is contained in:
Tulio Magno Quites Machado Filho 2023-07-13 10:05:11 -03:00
parent 30d8eed669
commit 461ef15b37
2 changed files with 19 additions and 1 deletions

12
D155192.diff Normal file
View File

@ -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

View File

@ -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 <tuliom@redhat.com> - 16.0.6-2
- Fix rhbz#2221585
* Fri Jun 16 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.6-1
- Update to LLVM 16.0.6