Bug 621036

Summary: Publican doesn't set web labels when building RPM packages
Product: [Community] Publican Reporter: Ruediger Landmann <r.landmann>
Component: publicanAssignee: Jeff Fearn <jfearn>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 1.6CC: jfearn, mmcallis, publican-list, r.landmann
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: publican-2.2-0.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-10-08 16:42:02 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Ruediger Landmann 2010-08-04 00:28:51 EDT
Description of problem:
Publican doesn't incorporate web labels (such as web_version_label) when building the spec file of an RPM package. Product names, versions, and document titles cannot be overriden when installing documents on a website

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

How reproducible:
100%

Steps to Reproduce:
1. Set a web_version_label in the publican.cfg file of a document
2. Build a web RPM package
3. Install the package on a Publican-generated website
  
Actual results:
Book is installed with the version specified by the <productnumber>, not by the web_version_label

Expected results:
Book is installed with the web_version_label

Additional info:
Comment 1 Jeff Fearn 2010-08-04 00:30:52 EDT
Made Builder pass web labels to web-spec.xsl

Fixed in build: 2.1-0%{?dist}.t7
Comment 2 Ruediger Landmann 2010-08-06 00:38:15 EDT
Verified in 2.1.t20 that web_version_label, web_product_label, and web_name_label,  are all added to  the %post section of the spec file when you build a package.
Comment 3 Fedora Update System 2010-10-06 01:48:23 EDT
publican-2.2-0.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/publican-2.2-0.fc13
Comment 4 Fedora Update System 2010-10-06 01:49:41 EDT
publican-2.2-0.fc12 has been submitted as an update for Fedora 12.
https://admin.fedoraproject.org/updates/publican-2.2-0.fc12
Comment 5 Fedora Update System 2010-10-06 01:49:44 EDT
publican-2.2-0.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/publican-2.2-0.fc14
Comment 6 Fedora Update System 2010-10-08 16:39:49 EDT
publican-2.2-0.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.