]> git.pld-linux.org Git - packages/kernel.git/commitdiff
- add doc bcond
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 4 Jan 2010 13:42:50 +0000 (13:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    kernel.spec -> 1.743

kernel.spec

index f7d5ad79a028c380c223766939e9cd56535be33b..590cb0bcee5cf99a8afd75991f4da499c8db2fd2 100644 (file)
@@ -23,6 +23,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)
@@ -1456,6 +1457,7 @@ fi
 %exclude %dir %{_kernelsrcdir}/security
 %exclude %dir %{_kernelsrcdir}/security/selinux
 
+%if %{with doc}
 %files doc
 %defattr(644,root,root,755)
 %dir %{_docdir}/%{name}-%{version}
@@ -1468,6 +1470,7 @@ fi
 %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
This page took 0.074583 seconds and 4 git commands to generate.