[packages/owncloudclient] fix build without doc
glen
glen at pld-linux.org
Tue Apr 12 15:53:25 CEST 2016
commit ab8b50fd43cff53d5cce21b298ef15ee3ef0c6f0
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Apr 12 16:53:19 2016 +0300
fix build without doc
owncloudclient.spec | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/owncloudclient.spec b/owncloudclient.spec
index 79cd1b7..6e9f1e7 100644
--- a/owncloudclient.spec
+++ b/owncloudclient.spec
@@ -146,17 +146,18 @@ fi
%files
%defattr(644,root,root,755)
%doc README.md COPYING
-%doc %{_docdir}/%{name}
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ownCloud/*
%attr(755,root,root) %{_bindir}/owncloud
%attr(755,root,root) %{_bindir}/owncloudcmd
%{_desktopdir}/owncloud.desktop
%{_iconsdir}/*/*/apps/*.png
%{_datadir}/owncloud
-%{_libdir}/owncloud/libocsync.so.*
%dir %{_libdir}/owncloud
+%if %{with doc}
+%doc %{_docdir}/%{name}
%{_mandir}/man1/owncloud*
%endif
+%endif
%files libs
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/owncloudclient.git/commitdiff/ab8b50fd43cff53d5cce21b298ef15ee3ef0c6f0
More information about the pld-cvs-commit
mailing list