Remove files not found

This commit is contained in:
Konrad Kleine 2022-03-04 16:54:55 +01:00
parent aee04b12af
commit c0d5d9b4fc

View file

@ -159,17 +159,8 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
%ifnarch %{arm}
%{_libdir}/libarcher.so
%endif
# potentially these files do not exist on other archs as well
%ifnarch x86_64
%{_libdir}/libomptarget-new-amdgpu-gfx*.bc
%{_libdir}/libomptarget-new-nvptx-sm_*.bc
%{_libdir}/libomptarget-amdgcn*.bc
%endif
# potentially these exist on other arches as well
%ifarch x86_64
%{_libdir}/libomptarget-amdgpu-gfx*.bc
%{_libdir}/libomptarget-nvptx-*.bc
%endif
%ifnarch %{ix86} %{arm}
%{_libdir}/libomptarget.rtl.amdgpu.so
%{_libdir}/libomptarget.rtl.cuda.so