@@ -45,7 +45,7 @@ libraries. Level Zero offers fine-grain control over accelerators capabilities,
4545delivering a simplified and low-latency interface to hardware, and efficiently
4646exposing hardware capabilities to applications.
4747
48- %debug_package
48+ %debug_package %{ nil }
4949
5050%prep
5151%autosetup -p1 -n compute-runtime-%{version }
@@ -68,19 +68,19 @@ exposing hardware capabilities to applications.
6868cd build
6969%ninja_install
7070
71- #Remove OpenCL files before installing
72- rm -rf %{buildroot }%{_libdir }/intel-opencl/
73- rm -rf %{buildroot }%{_sysconfdir }/OpenCL/
74- rm -rf %{buildroot }%{_bindir }/ocloc
75- rm -rf %{buildroot }%{_libdir }/libocloc.so
76- rm -rf %{buildroot }%{_includedir }/ocloc_api.h
71+ #Remove OpenCL files
72+ rm -rvf %{buildroot }%{_libdir }/intel-opencl/
73+ rm -rvf %{buildroot }%{_sysconfdir }/OpenCL/
74+ rm -rvf %{buildroot }%{_bindir }/ocloc
75+ rm -rvf %{buildroot }%{_libdir }/libocloc.so
76+ rm -rvf %{buildroot }%{_includedir }/ocloc_api.h
7777#Remove debug files
78- rm -f %{buildroot }/%{_libdir }/intel-opencl/libigdrcl.so.debug
79- rm -f %{buildroot }/%{_libdir }/libocloc.so.debug
80- rm -rf %{buildroot }/usr/lib/debug/
78+ rm -vf %{buildroot }/%{_libdir }/intel-opencl/libigdrcl.so.debug
79+ rm -vf %{buildroot }/%{_libdir }/libocloc.so.debug
80+ rm -rvf %{buildroot }/usr/lib/debug/
8181#insert license into package
8282mkdir -p %{buildroot }/usr/share/doc/intel-level-zero-gpu%{?name_suffix }/
83- cp -pR %{_sourcedir }/copyright %{buildroot }/usr/share/doc/intel-level-zero-gpu%{?name_suffix }/.
83+ cp -pvR %{_sourcedir }/copyright %{buildroot }/usr/share/doc/intel-level-zero-gpu%{?name_suffix }/.
8484
8585%files -n intel-level-zero-gpu%{?name_suffix }
8686%defattr(-,root,root)
0 commit comments