Red Hat Bugzilla – Bug 509041
bugzilla-doc install requirements are excessive
Last modified: 2009-07-31 05:09:08 EDT
Description of problem:
Installing bugzilla-doc requires too many other major systems.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. On a system without bugzilla installed, try to install bugzilla-doc .
Installation requires bugzilla itself, which in turn requires *many*
Perl modules, a webserver (!), and (at least according to the bugzilla
description) a database system.
bugzilla-doc should be able to be installed without a local bugzilla
Rationale: bugzilla-doc covers using online bugzilla sites, for
which a local installation of bugzilla (and especially all its
accoutrements) is not necessary.
(In reply to comment #0)
> Installation requires bugzilla itself, which in turn requires *many*
> Perl modules, a webserver (!), and (at least according to the bugzilla
> description) a database system.
Looking into this, it turns out that makedocs.pl (the utility that generates Bugzilla's documentation) is packaged in the bugzilla-doc sub-package.
makedocs.pl pulls in perl(Bugzilla::Install::Requirements) and perl(Bugzilla::Constants) and, hence, the bugzilla package.
a) make a bugzilla-docs-build sub-package that contains makedocs.pl, the xml files that contain the content, and the docs/lib directory.
b) remove the makedocs.pl script during build. This would impact people who want to modify the xml files and build documentation based on those but I suppose there aren't a lot of those.
Itamar, any input?
if b) why not include the makedocs.pl script in the regular bugzilla package? The docs and the tools to make the docs aren't necessarily the same thing.
(In reply to comment #2)
> if b) why not include the makedocs.pl script in the regular bugzilla package?
That would make the bugzilla package depend on usr/share/bugzilla/docs and, hence, the bugzilla-doc subpackage.
I've implemented option a.
bugzilla-doc now depends simply on rpm.