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   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-12 22:06:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joshua Wulf 2010-09-12 08:24:55 UTC
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 13:22:20 UTC
Not reproducible here,

$ rpm -q publican-doc xdg-utils
publican-doc-2.1-0.fc13.noarch
xdg-utils-1.0.2-20.20100709.fc13.noarch

$ rpm -q --requires publican-doc | grep '\(xdg\|html\)'
xdg-utils

Comment 2 Rex Dieter 2010-09-12 13:23:13 UTC
Sorry, reading again, *Publican-produced* rpms, sorry.

Comment 3 Joshua Wulf 2010-09-12 14:02:06 UTC
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 22:06:17 UTC
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
        os_ver:
                The OS for which to build packages.
                Default: .el5

e.g. edit publican.cfg, add

os_ver: .f13