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
parent 8d45d61a8d
commit 9c52ec74ce

View file

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