File project.diff of Package llvm18
--- llvm18.spec.orig
+++ llvm18.spec
@@ -29,7 +29,7 @@
%global _soclang 13
%global _socxx 1
-%ifarch x86_64 aarch64 %arm
+%ifarch i586 x86_64 aarch64 %arm
%bcond_without libcxx
%else
%bcond_with libcxx
@@ -443,7 +443,7 @@ BuildRequires: pkgconfig(libedit)
BuildRequires: pkgconfig(libzstd)
BuildRequires: pkgconfig(zlib)
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
# llvm does not work on s390
ExcludeArch: s390
%if %{with ffi}
@@ -534,7 +534,7 @@ Group: Development/Languages/C
URL: https://clang.llvm.org/
Requires: libclang_rt%{_sonum}
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
Recommends: clang-tools
Recommends: gcc
Recommends: glibc-devel
@@ -754,7 +754,7 @@ Summary: Linker for Clang/LLVM
Group: Development/Tools/Building
URL: https://lld.llvm.org/
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
%description -n lld%{_sonum}
LLD is a linker from the LLVM project. That is a drop-in replacement for system linkers and runs much faster than them. It also provides features that are useful for toolchain developers.
@@ -787,7 +787,7 @@ BuildRequires: pkgconfig(panel)
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(zlib)
Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
Recommends: python3-lldb%{_sonum}
%description -n lldb%{_sonum}