[publican-list] Publican 3 failing on Fedora 18

Jeff Fearn jfearn at redhat.com
Fri Jan 18 06:35:40 UTC 2013


On 01/18/2013 03:21 PM, Ruediger Landmann wrote:
> On 01/18/2013 02:57 PM, Laura Bailey wrote:
>> Hi folks,
>>
>> I upgraded from Fedora 17 to Fedora 18 today and repackaged Publican 3
>> only to discover that, while "publican build" still works just fine,
>> "publican package" results in the following error:
>>
>> ---
>> Using XML::LibXSLT on /usr/share/publican/xsl/web-spec.xsl
>> error: line 51: Too many names: %description -n
>> Red_Hat_Enterprise_Linux-Performance_Tuning_Guide-6-en-USThe
>> Performance Tuning Guide describes how to optimize the
>> /usr/bin/rpmbuild exited with value 1 at /usr/bin/publican line 924.
>> ---
>>
>
> To update that, I still get the same error on Fedora 18 even with
> Publican rebuilt against:
>
> libxml2-2.9.0-3.fc18.x86_64
> perl-XML-LibXML-2.0014-1.fc18.x86_64
> libxslt-1.1.28-1.fc18.x86_64
> perl-XML-LibXSLT-1.79-1.fc18.x86_64
>
> (the final three of those deps I also rebuilt; only libxml2 is in the
> F18 repos in that version, the others come from F19)

Seems FC18 is eating a new line or two.

Work around:

diff --git a/publican/datadir/xsl/web-spec.xsl 
b/publican/datadir/xsl/web-spec.xsl
index 9196c6c..0eb6b9d 100644
--- a/web-spec.xsl
+++ b/web-spec.xsl
@@ -64,6 +64,8 @@ Requires:    xdg-utils
  <xsl:if test="$translation = '1'"><xsl:value-of select="$language"/> 
translation of <xsl:value-of select="$

  %description -l <xsl:value-of select="$lang"/>  -n <xsl:value-of 
select="$book-title"/>-<xsl:value-of selec
+<xsl:text>
+</xsl:text>
  <xsl:value-of select="$abstract" />


Cheers, Jeff.

-- 
Jeff Fearn <jfearn at redhat.com>
Senior Software Engineer
Infrastructure Engineering & Development (AEU)
Red Hat Asia Pacific Pty Ltd
GPG: 0x0357E8F0




More information about the publican-list mailing list