docs-common/packaging spec.xsl,1.19,1.20

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Sun Feb 26 22:44:44 UTC 2006


Author: pfrields

Update of /cvs/docs/docs-common/packaging
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11355/docs-common/packaging

Modified Files:
	spec.xsl 
Log Message:
Make cleaner spec files


Index: spec.xsl
===================================================================
RCS file: /cvs/docs/docs-common/packaging/spec.xsl,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- spec.xsl	24 Feb 2006 03:34:25 -0000	1.19
+++ spec.xsl	26 Feb 2006 22:44:36 -0000	1.20
@@ -127,11 +127,12 @@
 </xsl:if></xsl:for-each>
 
 %changelog
-<xsl:for-each select="/rpm-info/changelog/revision"><xsl:if 
-	test="@role='rpm'">* <xsl:value-of select="@date"/> Fedora Documentation Project <fedora-docs-list at redhat.com> - <xsl:value-of
+<xsl:for-each select="/rpm-info/changelog/revision"><xsl:choose><xsl:when 
+	test="@role='rpm'">* <xsl:value-of select="@date"/> Fedora Docs Project <fedora-docs-list at redhat.com> - <xsl:value-of
 	  select="following-sibling::revision[@role='doc']/@number"/>-<xsl:value-of select="@number"/>
 - <xsl:value-of select="details"/>
-</xsl:if></xsl:for-each>
+
+</xsl:when><xsl:otherwise></xsl:otherwise></xsl:choose></xsl:for-each>
 </xsl:template>
 
   <xsl:include href="templates.xsl"/>




More information about the Fedora-docs-commits mailing list