[publican-list] Publican 3 failing on Fedora 18
Lee Newson
lnewson at redhat.com
Sun Jan 20 23:43:38 UTC 2013
Hey Jeff,
Firstly thanks for the workaround. It pretty much fixed the issues for me, though when I inspected the .spec file I noticed a few other lines (primarily around the "BuildRequires"/" Requires " section) were still being placed on the one line. I've attached a patch that adds to what you mentioned, that I believe should fix all cases where the new line is being removed (as a workaround). I wouldn't be surprised if this happened in other files as well but I haven't looked at them.
Cheers Lee
Associate Software Engineer, RHCE
Red Hat Asia Pacific Pty Ltd
Level 1, 193 North Quay
Brisbane, QLD 4000, Australia
On 01/18/2013 03:21 PM, Ruediger Landmann wrote:
On 01/18/2013 02:57 PM, Laura Bailey wrote:
<blockquote>
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)
</blockquote>
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 redhat com>
Senior Software Engineer
Infrastructure Engineering & Development (AEU)
Red Hat Asia Pacific Pty Ltd
GPG: 0x0357E8F0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/publican-list/attachments/20130120/76db8cd9/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: publican.patch
Type: text/x-patch
Size: 2481 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/publican-list/attachments/20130120/76db8cd9/attachment.bin>
More information about the publican-list
mailing list