Bug 921333

Summary: web-spec.xml missing whitespace - results in packages not building
Product: [Fedora] Fedora Reporter: Andrew Ross <anross>
Component: publicanAssignee: Ruediger Landmann <rlandman>
Status: CLOSED NEXTRELEASE QA Contact: Andrew Ross <anross>
Severity: high Docs Contact:
Priority: unspecified    
Version: 18CC: mdoyle, mmcallis, rlandman
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: 2013-04-17 00:37:09 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:
Attachments:
Description Flags
updated web-spec
none
web-home-spec.xsl patch none

Description Andrew Ross 2013-03-14 02:57:49 UTC
Created attachment 709854 [details]
updated web-spec

Description of problem: web-spec.xml is missing whitespace in the BuildRequires and %post sections. This causes issues when using a brand other than common.

The missing \n in BuildRequires prevents packages from being built.
The missing space chars in %post prevent web_product_label from being overridden in publican.cfg 


Version-Release number of selected component (if applicable):
publican-3.1.3-1.fc18.noarch

How reproducible:


Steps to Reproduce:
1. Create a book with a different brand (eg. brand: RedHat)
2. Build an rpm (publican package --binary)
3. Install to a publican website
  
Actual results: Package creation fails.


Expected results:


Additional info: I have attached a version of the web-spec.xsl that works. This web-spec includes the changes made by lnewson to fix the build issue (BuildRequires).

Comment 1 Andrew Ross 2013-03-14 03:13:08 UTC
Created attachment 709857 [details]
web-home-spec.xsl patch

Comment 2 Ruediger Landmann 2013-04-17 00:37:09 UTC
Fixed in 3.1.5-1, now in testing for F17 and F18