docs-common/packaging spec.xsl,1.5,1.6

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Tue Dec 27 18:14:45 UTC 2005


Author: pfrields

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

Modified Files:
	spec.xsl 
Log Message:
Additional spec improvements


Index: spec.xsl
===================================================================
RCS file: /cvs/docs/docs-common/packaging/spec.xsl,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- spec.xsl	27 Dec 2005 14:23:19 -0000	1.5
+++ spec.xsl	27 Dec 2005 18:14:37 -0000	1.6
@@ -54,13 +54,13 @@
 /bin/rm -rf $RPM_BUILD_ROOT
 
 <xsl:for-each select="/rpm-info/titles/translation">
-%post	<xsl:value-of select="@lang"/>
+%post	<xsl:if test="@lang != 'en'"><xsl:value-of select="@lang"/></xsl:if>
 /usr/bin/scrollkeeper-update || true
 
-%postun	<xsl:value-of select="@lang"/>
+%postun	<xsl:if test="@lang != 'en'"><xsl:value-of select="@lang"/></xsl:if>
 /usr/bin/scrollkeeper-update || true
 
-%files	<xsl:value-of select="@lang"/>
+%files	<xsl:if test="@lang != 'en'"><xsl:value-of select="@lang"/></xsl:if>
 %defattr(-, root, root, -)
 </xsl:for-each>
 




More information about the Fedora-docs-commits mailing list