]> git.pld-linux.org Git - packages/owncloudclient.git/commitdiff
fix build without doc
authorElan Ruusamäe <glen@delfi.ee>
Tue, 12 Apr 2016 13:53:19 +0000 (16:53 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 12 Apr 2016 13:53:19 +0000 (16:53 +0300)
owncloudclient.spec

index 79cd1b7126f6df4d332aa2fe29783e75ff94b396..6e9f1e7dd2b5d42c089a9c4bc612024a8573cbc6 100644 (file)
@@ -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)
This page took 0.100343 seconds and 4 git commands to generate.