summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2006-01-03 01:07:06 +0000
committerPaul W. Frields <stickster@gmail.com>2006-01-03 01:07:06 +0000
commitcc2b3b898920a5ff85b87db319f4f76079bd468c (patch)
tree2950f9c6eba6e57ed71c12d0be29703940c0df81 /packaging
parent67be0f5b18cf315096a770fb4fadf0a6904c255e (diff)
downloadfedora-doc-utils-cc2b3b898920a5ff85b87db319f4f76079bd468c.tar.gz
fedora-doc-utils-cc2b3b898920a5ff85b87db319f4f76079bd468c.tar.xz
fedora-doc-utils-cc2b3b898920a5ff85b87db319f4f76079bd468c.zip
Break ties in revhistory
Diffstat (limited to 'packaging')
-rw-r--r--packaging/info2rpminfo.xsl10
1 files changed, 5 insertions, 5 deletions
diff --git a/packaging/info2rpminfo.xsl b/packaging/info2rpminfo.xsl
index 3976245..2dad3f2 100644
--- a/packaging/info2rpminfo.xsl
+++ b/packaging/info2rpminfo.xsl
@@ -16,7 +16,7 @@
</xsl:element>
<xsl:element name="copyright">
<xsl:for-each select="copyright">
- <xsl:copy-of select="node()"/>
+ <xsl:copy-of select="."/>
</xsl:for-each>
</xsl:element>
<xsl:element name="titles">
@@ -58,7 +58,7 @@
</xsl:attribute-set>
- <xsl:template match="/book/bookinfo/title|/article/articleinfo/title">
+ <xsl:template match="bookinfo/title|articleinfo/title">
<xsl:element name="translation" use-attribute-sets="translation-atts">
<xsl:call-template name="translation"/>
</xsl:element>
@@ -66,7 +66,7 @@
</xsl:template>
<xsl:template name="translation">
- <xsl:element name="title"><xsl:value-of select="node()"/></xsl:element>
+ <xsl:element name="title"><xsl:value-of select="."/></xsl:element>
<xsl:element name="desc">PLEASE ADD BOOK/ARTICLE DESCRIPTION TO RPM-INFO</xsl:element>
<!-- Sorry, can't langify out of separate docs right now. -->
</xsl:template>
@@ -77,7 +77,7 @@
<xsl:template match="revhistory">
- <xsl:apply-templates select="revision"><xsl:sort select="date" order="descending"/></xsl:apply-templates>
+ <xsl:apply-templates select="revision"><xsl:sort select="date" order="descending"/><xsl:sort select="revnumber" order="descending"/></xsl:apply-templates>
</xsl:template>
<xsl:template match="revision">
@@ -85,7 +85,7 @@
<xsl:element name="author" use-attribute-sets="revision-worker-atts"/>
<xsl:for-each select="revdescription/para">
<xsl:element name="details" use-attribute-sets="revision-detail-atts">
- <xsl:value-of select="node()"/>
+ <xsl:value-of select="."/>
</xsl:element>
</xsl:for-each>
</xsl:element>