Attempt to fix RPM build error

RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/lib/debug/usr/lib64/libompd.so-14.0.0-1.fc35.x86_64.debug
   /usr/lib64/libompd.so
   /usr/lib64/libomptarget-new-amdgpu-gfx1010.bc
   /usr/lib64/libomptarget-new-amdgpu-gfx1030.bc
   /usr/lib64/libomptarget-new-amdgpu-gfx1031.bc
   /usr/lib64/libomptarget-new-amdgpu-gfx700.bc
   /usr/lib64/libomptarget-new-amdgpu-gfx701.bc
   /usr/lib64/libomptarget-new-amdgpu-gfx801.bc
   /usr/lib64/libomptarget-new-amdgpu-gfx803.bc
   /usr/lib64/libomptarget-new-amdgpu-gfx900.bc
   /usr/lib64/libomptarget-new-amdgpu-gfx902.bc
   /usr/lib64/libomptarget-new-amdgpu-gfx906.bc
   /usr/lib64/libomptarget-new-amdgpu-gfx908.bc
   /usr/lib64/libomptarget-new-amdgpu-gfx90a.bc
   /usr/lib64/libomptarget-new-nvptx-sm_35.bc
   /usr/lib64/libomptarget-new-nvptx-sm_37.bc
   /usr/lib64/libomptarget-new-nvptx-sm_50.bc
   /usr/lib64/libomptarget-new-nvptx-sm_52.bc
   /usr/lib64/libomptarget-new-nvptx-sm_53.bc
   /usr/lib64/libomptarget-new-nvptx-sm_60.bc
   /usr/lib64/libomptarget-new-nvptx-sm_61.bc
   /usr/lib64/libomptarget-new-nvptx-sm_62.bc
   /usr/lib64/libomptarget-new-nvptx-sm_70.bc
   /usr/lib64/libomptarget-new-nvptx-sm_72.bc
   /usr/lib64/libomptarget-new-nvptx-sm_75.bc
   /usr/lib64/libomptarget-new-nvptx-sm_80.bc
   /usr/lib64/libomptarget-new-nvptx-sm_86.bc
This commit is contained in:
Konrad Kleine 2021-12-25 17:26:57 +01:00
parent f1935f0e06
commit fd19fbaef1

View file

@ -150,6 +150,11 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a
%files
%license LICENSE.TXT
%{_libdir}/libomp.so
%if %{with snapshot_build}
%{_libdir}/libompd.so
%{_libdir}/libomptarget-new-amdgpu-gfx*.bc
%{_libdir}/libomptarget-new-nvptx-sm_*.bc
%endif
%ifnarch %{arm}
%{_libdir}/libarcher.so
%endif