From 9c52ec74ce2732cba84b6a1224a5f792f8a8af96 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 23 May 2024 16:05:18 +0200 Subject: [PATCH] Fix i386 build These binaries are not created on i386, so don't try to remove them. Alternatively could use rm -f. --- install.spec.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.spec.inc b/install.spec.inc index 5d66d86..cdb7da0 100644 --- a/install.spec.inc +++ b/install.spec.inc @@ -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 \ No newline at end of file +#endregion