Bug 233033 - taskjuggler should not depend on docbook-dtds *release* (with solution)
taskjuggler should not depend on docbook-dtds *release* (with solution)
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: taskjuggler (Show other bugs)
5.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ondrej Vasik
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-19 19:09 EDT by Jos Vos
Modified: 2013-04-12 15:05 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-11-11 04:18:44 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jos Vos 2007-03-19 19:09:33 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
BuildRequires entry.

Version-Release number of selected component (if applicable):
2.2.0-3

How reproducible:
Rebuild taskjuggler on RHEL5 (which includes a different version of docbok-dtds).

Solution:
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
done
Comment 1 RHEL Product and Program Management 2007-12-03 15:41:42 EST
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.
Comment 8 errata-xmlrpc 2009-11-11 04:18:44 EST
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.

http://rhn.redhat.com/errata/RHBA-2009-1576.html

Note You need to log in before you can comment on or make changes to this bug.