Accepting request 266821 from home:mnhauke:branches:devel:libraries:c_c++
minor spec fixes (unbreak build for suse_version < Factory) OBS-URL: https://build.opensuse.org/request/show/266821 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/hwloc?expand=0&rev=10
This commit is contained in:
parent
99b8fdd9ac
commit
0303cdb9f3
@ -143,12 +143,11 @@ sed -i "s;(LN_S) lstopo-no-graphics;(LN_S) lstopo;g" utils/lstopo/Makefile.in
|
||||
%{__rm} -rf %{buildroot}%{_libdir}/libhwloc.la
|
||||
|
||||
# documentation will be handled by % doc macro
|
||||
%{__rm} -rf %{buildroot}%{_datadir}/doc/ doc/doxygen-doc/man
|
||||
%{__rm} -rf doc/.deps
|
||||
%{__rm} -rf %{buildroot}%{_datadir}/doc/
|
||||
%fdupes -s %{buildroot}/%{_mandir}/man1
|
||||
%fdupes -s %{buildroot}/%{_mandir}/man3
|
||||
%fdupes -s %{buildroot}/%{_mandir}/man7
|
||||
%fdupes -s doc/
|
||||
%fdupes -s doc/doxygen-doc
|
||||
|
||||
%check
|
||||
#XXX: this is weird, but make check got broken by removing doxygen-doc/man above
|
||||
@ -193,6 +192,7 @@ sed -i "s;(LN_S) lstopo-no-graphics;(LN_S) lstopo;g" utils/lstopo/Makefile.in
|
||||
|
||||
%files doc
|
||||
%defattr(-, root, root, -)
|
||||
%doc doc/
|
||||
%doc doc/doxygen-doc/html
|
||||
%doc doc/doxygen-doc/hwloc*.pdf
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user