diff --git a/hwloc.changes b/hwloc.changes index 17557bf..add3525 100644 --- a/hwloc.changes +++ b/hwloc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 9 13:20:12 UTC 2023 - Thomas Blume + +- remove header files for feature we don't ship (jsc#PED-4156) + ------------------------------------------------------------------- Thu Jan 26 14:53:18 UTC 2023 - Callum Farmer diff --git a/hwloc.spec b/hwloc.spec index d6466c0..b710358 100644 --- a/hwloc.spec +++ b/hwloc.spec @@ -123,6 +123,14 @@ install -D -m 644 %{buildroot}%{_datadir}/hwloc/hwloc-dump-hwdata.service %{buil %endif rm %{buildroot}%{_datadir}/hwloc/hwloc-dump-hwdata.service +#remove headers for features we don't ship +rm %{buildroot}%{_includedir}/hwloc/rsmi.h +rm %{buildroot}%{_includedir}/hwloc/nvml.h +rm %{buildroot}%{_includedir}/hwloc/opencl.h +rm %{buildroot}%{_includedir}/hwloc/levelzero.h +rm %{buildroot}%{_includedir}/hwloc/cuda.h +rm %{buildroot}%{_includedir}/hwloc/cudart.h + %fdupes -s %{buildroot}/%{_mandir}/man1 %fdupes -s %{buildroot}/%{_mandir}/man7