Accepting request 1090899 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/1090899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hwloc?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2023-06-06 17:55:23 +00:00 committed by Git OBS Bridge
commit d669bc05de
2 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue May 9 13:20:12 UTC 2023 - Thomas Blume <thomas.blume@suse.com>
- remove header files for feature we don't ship (jsc#PED-4156)
These headers do not define an API that is not supported at present and
therefore would not cause a failure during build. Still, they define static
inline functions which look for HWLOC objects that are only set up by
non-supported device scanners. Thus these objects will never be present - even
though the relevant hardware is.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jan 26 14:53:18 UTC 2023 - Callum Farmer <gmbr3@opensuse.org> Thu Jan 26 14:53:18 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>

View File

@ -123,6 +123,14 @@ install -D -m 644 %{buildroot}%{_datadir}/hwloc/hwloc-dump-hwdata.service %{buil
%endif %endif
rm %{buildroot}%{_datadir}/hwloc/hwloc-dump-hwdata.service 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}/man1
%fdupes -s %{buildroot}/%{_mandir}/man7 %fdupes -s %{buildroot}/%{_mandir}/man7