spec: doc knob that's useful

Building it --without doc wouldn't result in actual
build dependency list shrinking as fop still remained;
figured that out while building it for e2k.
This commit is contained in:
Michael Shigorin 2016-12-26 15:57:18 +03:00
parent b3caf70fa9
commit 86df2cde0a

View File

@ -11,7 +11,7 @@ Source: %name-%version.tar
Packager: Michael Shigorin <mike@altlinux.org>
BuildArch: noarch
BuildRequires: rsync asciidoc-a2x fop fonts-ttf-dejavu
BuildRequires: rsync
Requires: rsync git-core
Requires: time schedutils sfdisk
@ -30,6 +30,7 @@ Requires: mkimage-preinstall
Summary: %name documentation
Group: Development/Documentation
%{?_with_doc:BuildRequires: java /proc}
%{?_with_doc:BuildRequires: asciidoc-a2x fop fonts-ttf-dejavu}
%description
mkimage-profiles is a collection of bits and pieces useful for