From: S.Çağlar Onur <caglar@cs.princeton.edu>
Date: Tue, 27 Apr 2010 20:47:55 +0000 (+0000)
Subject: disable doc generation
X-Git-Tag: util-vserver-0.30.216-0~7
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=08426a598b8f319a85ff1bf718f539469cd693a7;p=util-vserver.git

disable doc generation
---

diff --git a/util-vserver.spec b/util-vserver.spec
index d6079dd..574c180 100644
--- a/util-vserver.spec
+++ b/util-vserver.spec
@@ -49,7 +49,7 @@ BuildRequires:	e2fsprogs-devel e2fsprogs
 %{!?_without_beecrypt:BuildRequires: beecrypt-devel}
 %{?_without_beecrypt:BuildRequires: nss-devel}
 BuildRequires:	e2fsprogs
-%{!?_without_doc:BuildRequires:	doxygen tetex-latex}
+#%%{!?_without_doc:BuildRequires:	doxygen tetex-latex}
 %{!?_without_python:BuildRequires: python python-devel ctags}
 Requires(post):		%name-core
 Requires(pre):		%pkglibdir
@@ -203,7 +203,7 @@ Linux-VServer API from Python.
            %{?_without_python:--without-python}
 
 %__make %{?_smp_mflags} all
-%{!?_without_doc:%__make %{?_smp_mflags} doc}
+#%%{!?_without_doc:%__make %{?_smp_mflags} doc}
 
 
 %install
@@ -381,8 +381,8 @@ test "$1" = 0  || %_initrddir/rebootmgr   condrestart >/dev/null || :
 
 %files devel -f %name-devel.list
 %defattr(-,root,root,-)
-%{!?_without_doc:%doc lib/apidoc/latex/refman.pdf}
-%{!?_without_doc:%doc lib/apidoc/html}
+#%%{!?_without_doc:%doc lib/apidoc/latex/refman.pdf}
+#%%{!?_without_doc:%doc lib/apidoc/html}
 
 
 %files python