Red Hat Bugzilla – Bug 233033
taskjuggler should not depend on docbook-dtds *release* (with solution)
Last modified: 2013-04-12 15:05:28 EDT
Description of problem:
The patch for taskjuggler assumes a specific release *and* version of
docbook-dtds (1.0-26), which makes it impossible to build with a newer version.
Furthermore, this dependency is only "hidden" in the patch and not included as a
Version-Release number of selected component (if applicable):
Rebuild taskjuggler on RHEL5 (which includes a different version of docbok-dtds).
Do not include a static patch, but dynamically determine the directory where the
docbookx.dtd can be found and edit the relevant sources accordingly in %prep:
DTDDIR=`ls -d /usr/share/sgml/docbook/xml-dtd-4.3-*`
for file in docs/en/taskjuggler.xml.in docs/en/kde-doc.patch; do
sed -i -e \
"s|/usr/share/xml/docbook/schema/dtd/4.3/docbookx.dtd|$DTDDIR/docbookx.dtd|" \ $file
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. This request will
be reviewed for a future Red Hat Enterprise Linux release.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.