commit ce12112485171132e95a875442227570323de6aa
Author: Elan Ruusamäe <[email protected]>
Date:   Sun Mar 22 07:54:35 2015 +0200

    add bcond to disable kde docs build (broken currently)

 kdelibs.spec | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/kdelibs.spec b/kdelibs.spec
index b322748..03315b0 100644
--- a/kdelibs.spec
+++ b/kdelibs.spec
@@ -1,6 +1,6 @@
 # TODO
-# - switch to kde trinity: http://trinity.pearsoncomputing.net/ (see TRINITY 
branch of kdelibs.spec)
-# - unpakcaged:
+# - switch to kde trinity: http://trinity.pearsoncomputing.net/ (see 
dev-trinity branch of kdelibs.spec)
+# - unpackaged:
 #        /etc/xdg/menus/applications.menu
 #        /usr/share/apps/kconf_update
 #
@@ -8,6 +8,7 @@
 %bcond_without alsa                    # build without ALSA support
 %bcond_with    arts                    # build with aRts support
 %bcond_with    apidocs                 # don't prepare API documentation
+%bcond_without doc                     # build kde docs
 %bcond_without autoreqdep              # don't care about package name deps 
generated by rpm
 %bcond_without kerberos5               # disable kerberos
 %bcond_without openexr                 # disable OpenEXR
@@ -390,6 +391,10 @@ mv -f configure{,.dist}
 cp -a %{SOURCE5} kio/kssl/kssl/cacert.pem
 echo 'cacert.pem' >> kio/kssl/kssl/localcerts
 
+%if %{without doc}
+touch doc/kspell/index.cache.bz2
+%endif
+
 %build
 # merge cacert root certificate
 cd kio/kssl/kssl
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kdelibs.git/commitdiff/bcb7f052e8bc037076d4c9fef15b04586bb12ff5

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to