Bug 1105090

Summary: unrtf templates not found
Product: [Fedora] Fedora EPEL Reporter: Arne de Bruijn <redhat>
Component: unrtfAssignee: Ken Dreyer <ktdreyer>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el6CC: ktdreyer
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-07 01:50:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Arne de Bruijn 2014-06-05 11:16:03 UTC
Description of problem:


Version-Release number of selected component (if applicable):
unrtf-0.21.5-1.el6


How reproducible:
echo '{}'|unrtf

Actual results (error message):
failed to find html.conf in search path dirs

Expected results:
<!DOCTYPE html PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN>
...

Additional info:
unrtf looks for html.conf in /usr/share/unrtf, but the package places the file in /etc/unrtf.
unrtf used to use a hardcoded conf-file path which was replaced in the .spec file. But the latest version has a macro CONFIG_DIR defined to PKGDATADIR.
Since the conf files are more static template files than user configurable files PKGDATADIR seems right.

Comment 1 Ken Dreyer 2014-06-07 01:50:57 UTC
Hi Arne, thanks for the bug report. As it turns out this bug looks very similar to 1060513 , "conf files are not found". If you don't mind I'm going to close this one as a duplicate of that one. 

As described in the other bug, there is a newer unrtf package in epel-testing, and when that update reaches the end of its two week testing period, I can push it to epel's stable repo.

If you get a chance to check out the package in epel-testing, I would greatly welcome your feedback. Feel free to comment in Bodhi or on that original bug in Bugzilla.

*** This bug has been marked as a duplicate of bug 1060513 ***