[publican-list] Publican 2.8 & 3.0 on the same system

Petr Kovar pkovar at redhat.com
Tue Jan 22 14:34:45 UTC 2013


Hi,

To make life a little easier for people who still depend on Publican 2.8
but want to use Publican 3.0 on the same system, I tried to package a
P 2.8 Software Collection [1], which creates a separate file system
hierarchy under /opt/ and installs Publican files under /opt/rh/publican28/.

The problem is that Publican in the Collection fails to build a book with a
runtime error:

	Using XML::LibXSLT on /usr/share/publican/xsl/html-single.xsl
runtime error: file /usr/share/publican/xsl/html-single.xsl element choose
Variable 'body.only' has not been declared.
 at /opt/rh/publican28/root//usr/share/perl5/vendor_perl/Publican/Builder.pm
line 969

It looks like this is because Publican share content paths are actually
hard-coded as https://bugzilla.redhat.com/show_bug.cgi?id=661946
suggests.


Is there a way to work around this problem?

[1]
http://docs.fedoraproject.org/en-US/Fedora_Contributor_Documentation/1/html/Software_Collections_Guide/sect-What_Are_Software_Collections.html


Thanks,
-- 
Petr Kovar
Content Author II | Engineering Content Services
Red Hat Czech s.r.o.
Purkynova 99/71, 612 45 Brno, Czech Republic




More information about the publican-list mailing list