Accepting request 266851 from devel:libraries:c_c++

- minor spec fixes (unbreak build for suse_version < Factory)

OBS-URL: https://build.opensuse.org/request/show/266851
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hwloc?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2014-12-31 10:22:27 +00:00 committed by Git OBS Bridge
commit 18c3e04203
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 30 10:34:40 UTC 2014 - mardnh@gmx.de
- minor spec fixes (unbreak build for suse_version < Factory)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 16 09:22:26 UTC 2014 - alinm.elena@gmail.com Tue Dec 16 09:22:26 UTC 2014 - alinm.elena@gmail.com

View File

@ -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 %{__rm} -rf %{buildroot}%{_libdir}/libhwloc.la
# documentation will be handled by % doc macro # documentation will be handled by % doc macro
%{__rm} -rf %{buildroot}%{_datadir}/doc/ doc/doxygen-doc/man %{__rm} -rf %{buildroot}%{_datadir}/doc/
%{__rm} -rf doc/.deps
%fdupes -s %{buildroot}/%{_mandir}/man1 %fdupes -s %{buildroot}/%{_mandir}/man1
%fdupes -s %{buildroot}/%{_mandir}/man3 %fdupes -s %{buildroot}/%{_mandir}/man3
%fdupes -s %{buildroot}/%{_mandir}/man7 %fdupes -s %{buildroot}/%{_mandir}/man7
%fdupes -s doc/ %fdupes -s doc/doxygen-doc
%check %check
#XXX: this is weird, but make check got broken by removing doxygen-doc/man above #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 %files doc
%defattr(-, root, root, -) %defattr(-, root, root, -)
%doc doc/ %doc doc/doxygen-doc/html
%doc doc/doxygen-doc/hwloc*.pdf
%changelog %changelog