rpm packaging: Add build requirements for the guides

The HTML guides require xsltproc and the docbook xsl stylesheets
in order to be generated.
This commit is contained in:
John Thacker 2022-01-16 01:54:26 -05:00 committed by A Wireshark GitLab Utility
parent c9e08b7be3
commit 800524131f
1 changed files with 10 additions and 0 deletions

View File

@ -78,6 +78,16 @@ BuildRequires: /usr/bin/asciidoctor
# No CentOS 8 package, so we install it from rubygems directly, but that
# means the package manager doesn't know about it and we can't require it.
# For the HTML guides, we need xsltproc, and the docbook stylesheets
%if %{with guides}
BuildRequires: /usr/bin/xsltproc
%if 0%{?suse_version}
BuildRequires: docbook-xsl-stylesheets
%else
BuildRequires: docbook-style-xsl
%endif
%endif
BuildRequires: glib2-devel >= 2.38.0
BuildRequires: libpcap-devel
BuildRequires: zlib-devel