packages: kernel/kernel.spec - add doc bcond

glen glen at pld-linux.org
Mon Jan 4 14:42:55 CET 2010


Author: glen                         Date: Mon Jan  4 13:42:55 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- add doc bcond

---- Files affected:
packages/kernel:
   kernel.spec (1.742 -> 1.743) 

---- Diffs:

================================================================
Index: packages/kernel/kernel.spec
diff -u packages/kernel/kernel.spec:1.742 packages/kernel/kernel.spec:1.743
--- packages/kernel/kernel.spec:1.742	Sat Dec 19 09:50:05 2009
+++ packages/kernel/kernel.spec	Mon Jan  4 14:42:50 2010
@@ -24,6 +24,7 @@
 #
 # Conditional build:
 %bcond_without	source		# don't build kernel-source package
+%bcond_without	doc			# don't build kernel-doc package
 %bcond_without	pcmcia		# don't build pcmcia
 
 %bcond_with	verbose		# verbose build (V=1)
@@ -1457,6 +1458,7 @@
 %exclude %dir %{_kernelsrcdir}/security
 %exclude %dir %{_kernelsrcdir}/security/selinux
 
+%if %{with doc}
 %files doc
 %defattr(644,root,root,755)
 %dir %{_docdir}/%{name}-%{version}
@@ -1469,6 +1471,7 @@
 %lang(ja) %{_docdir}/%{name}-%{version}/ja_JP
 %lang(ko) %{_docdir}/%{name}-%{version}/ko_KR
 %lang(zh_CN) %{_docdir}/%{name}-%{version}/zh_CN
+%endif
 
 %if %{with source}
 %files source -f files.source_exclude_modulebuild_and_dirs
@@ -1544,6 +1547,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.743  2010/01/04 13:42:50  glen
+- add doc bcond
+
 Revision 1.742  2009/12/19 08:50:05  arekm
 - up to 2.6.32.2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kernel/kernel.spec?r1=1.742&r2=1.743&f=u



More information about the pld-cvs-commit mailing list