[publican-list] Source0 in the Spec file
Eric Christensen
eric at christensenplace.us
Thu Jan 29 03:11:38 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jeff Fearn wrote:
> 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.
>
Well, it is a bug but one I was trying to fix ahead of time. :) I hate
complaining without having a solution ready.
Yeah, I'm not sure how to do this, really. I'll file a bug against
Publican.
- -Eric
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkmBHmgACgkQfQTSQL0MFMGCogCgydFfJyUzO8FBmUC8XgK2/P6u
FXQAn29C6+ax6BwvjHZ1515jQu928HYV
=W4MP
-----END PGP SIGNATURE-----
More information about the publican-list
mailing list