[publican-list] Source0 in the Spec file

Jeff Fearn jfearn at redhat.com
Thu Jan 29 03:02:51 UTC 2009


Eric Christensen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I'm trying to figure out a way to populate the Source0 in the SPEC file.
>  I'd like to put it in the Book_Info.xml file but I think I have to tell
> Publican to grab it somehow.
> 
> I put "Source0:        <xsl:value-of select="/bookinfo/source"/>" in the
> dt_htmlsingle_spec.xsl file.  Can anyone point me in the right direction?

Is this a bug or are you just customising things for yourself?

You can't just make up tags like source, you'd have to use a valid DocBook tag. see http://www.docbook.org/tdg/en/html/bookinfo.html#d0e39987

I note that dt_htmlsingle_spec.xsl is different than web-spec.xsl, so maybe it is a bug.

web-spec.xsl has:

Source:         %{name}-%{version}-<xsl:value-of select="$rpmrel"/>.tgz

Cheers, Jeff.

-- 
Jeff Fearn <jfearn at redhat.com>
Software Engineer
Engineering Operations
Red Hat, Inc
Freedom ... courage ... Commitment ... ACCOUNTABILITY




More information about the publican-list mailing list