Fix error with missing *.bc files

RPM build errors:
    File not found: /builddir/build/BUILDROOT/libomp-15.0.0~pre20220214.g890beda4e1794f-1.fc35.x86_64/usr/lib64/libomptarget-new-amdgpu-gfx*.bc
    File not found: /builddir/build/BUILDROOT/libomp-15.0.0~pre20220214.g890beda4e1794f-1.fc35.x86_64/usr/lib64/libomptarget-new-nvptx-sm_*.bc
    File not found: /builddir/build/BUILDROOT/libomp-15.0.0~pre20220214.g890beda4e1794f-1.fc35.x86_64/usr/lib64/libomptarget-amdgcn*.bc
This commit is contained in:
Konrad Kleine 2022-02-21 17:54:00 +01:00
parent a666eaf589
commit 8d46a01940

View file

@ -159,7 +159,7 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
%ifnarch %{arm}
%{_libdir}/libarcher.so
%endif
%ifnarch %{ix86} %{arm}
%ifnarch %{ix86} %{arm} x86_64
%{_libdir}/libomptarget-new-amdgpu-gfx*.bc
%{_libdir}/libomptarget-new-nvptx-sm_*.bc
%{_libdir}/libomptarget-amdgcn*.bc