[packages/mirall] build only man, not docs we don't package
glen
glen at pld-linux.org
Sat Feb 7 23:58:05 CET 2015
commit 377d83c5ca3fda631c41f78fad1a38f2aff43be0
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sun Feb 8 00:57:59 2015 +0200
build only man, not docs we don't package
mirall.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/mirall.spec b/mirall.spec
index 336a53b..47c9396 100644
--- a/mirall.spec
+++ b/mirall.spec
@@ -9,7 +9,7 @@ Name: mirall
Version: 1.7.0
Release: 0.4
License: GPL v2
-Group: Libraries
+Group: X11/Applications
Source0: https://download.owncloud.com/desktop/stable/%{name}-%{version}.tar.bz2
# Source0-md5: f662f4510ef26b5484f754304f8d9295
URL: https://owncloud.org/install/#desktop
@@ -78,7 +78,6 @@ cd build
%cmake \
-DCSYNC_INCLUDE_PATH=%{_includedir}/ocsync \
-DWITH_ICONV=ON \
- -DDOC=ON \
-DUNIT_TESTING=ON \
-DCMAKE_DISABLE_FIND_PACKAGE_Libsmbclient=OFF \
-DCMAKE_DISABLE_FIND_PACKAGE_LibSSH=OFF \
@@ -87,15 +86,13 @@ cd build
..
%{__make}
-%{__make} doc
+%{__make} doc-man
%install
rm -rf $RPM_BUILD_ROOT
%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
-%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/{html,latex}
-
mv $RPM_BUILD_ROOT%{_libdir}/owncloud/* $RPM_BUILD_ROOT%{_libdir}
rmdir $RPM_BUILD_ROOT%{_libdir}/owncloud
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mirall.git/commitdiff/377d83c5ca3fda631c41f78fad1a38f2aff43be0
More information about the pld-cvs-commit
mailing list