Bug 632957

Summary: should depend on xdg-utils, rather than htmlview
Product: [Community] Publican Reporter: Joshua Wulf <jwulf>
Component: publicanAssignee: Jeff Fearn <jfearn>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 1.6CC: jfearn, lcarlon, mmcallis, publican-list, rdieter, rlandman
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-12 18:06:17 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Joshua Wulf 2010-09-12 04:24:55 EDT
Description of problem: Publican-produced rpms depend on htmlview, and will not install on Fedora 13 systems.

Version-Release number of selected component (if applicable): whatever is running in brew at the moment.

How reproducible: 100%

Steps to Reproduce:
1. Brew an rpm
2. Download it
3. Try to install with yum install
Actual results:
Fails with unresolved dependency on htmlview

Expected results:
Should install

Additional info:
Comment 1 Rex Dieter 2010-09-12 09:22:20 EDT
Not reproducible here,

$ rpm -q publican-doc xdg-utils

$ rpm -q --requires publican-doc | grep '\(xdg\|html\)'
Comment 2 Rex Dieter 2010-09-12 09:23:13 EDT
Sorry, reading again, *Publican-produced* rpms, sorry.
Comment 3 Joshua Wulf 2010-09-12 10:02:06 EDT
To reproduce:

1.Create a book with publican.
2. Run publican package --desktop --lang=en-US --binary
3. Then try to install the resulting package on Fedora 13.
4. Result: rpm -ivh /home/jwulf/someplace/tmp/rpm/noarch/testing_1.0.0-1-en-US-1.0.0-17.el5.noarch.rpm
error: Failed dependencies:
	htmlview is needed by testing_1.0.0-1-en-US-1.0.0-17.el5.noarch
Comment 4 Jeff Fearn 2010-09-12 18:06:17 EDT
os_ver defaults to RHEL5 packages, as shown by the '.el5' in the package name, you need to change it to the dist for the OS you are building packages for.

$ publican help_config 2>&1 | grep -A2 os_ver
                The OS for which to build packages.
                Default: .el5

e.g. edit publican.cfg, add

os_ver: .f13