Fix i386 build

These binaries are not created on i386, so don't try to remove
them. Alternatively could use rm -f.
This commit is contained in:
Nikita Popov 2024-05-23 16:05:18 +02:00 committed by Timm Bäder
parent bee7a61730
commit 06767d80d8

View file

@ -231,9 +231,11 @@ rm -rf %{buildroot}/%{_datarootdir}/gdb
# chmod go+w %{buildroot}/%{_datarootdir}/gdb/python/ompd/ompdModule.so
# chmod +w %{buildroot}/%{_datarootdir}/gdb/python/ompd/ompdModule.so
%ifnarch %{ix86}
# Remove files that we don't package, yet.
rm %{buildroot}%{install_bindir}/llvm-omp-device-info
rm %{buildroot}%{install_bindir}/llvm-omp-kernel-replay
%endif
%endif
@ -270,4 +272,4 @@ if [ $1 -eq 0 ] ; then
fi
%endif
#endregion
#endregion