[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#490806: PTS: spurious standards-version messages for udebs



Index: pts.xsl
===================================================================
--- pts.xsl	(revision 1914)
+++ pts.xsl	(working copy)
@@ -899,7 +899,7 @@
     <xsl:if test="not(uploaders)and(priority='standard' or priority='required' or priority='important')">
       <li>The package is of priority standard or higher, you should really find some co-maintainers.</li>
     </xsl:if>
-    <xsl:if test="not(starts-with(standards-version, $lastsv))">
+    <xsl:if test="standards-version!='' and not(starts-with(standards-version, $lastsv))">
       <li>The package should be updated to follow the last version of
 	<a href="http://www.debian.org/doc/debian-policy/";>Debian Policy</a> (Standards-Version 
 	<xsl:value-of select="$lastsv"/> instead of 
@@ -956,7 +956,7 @@
 	delay is over.
         <a href="http://release.debian.org/migration/testing.pl?package={$escaped-package}";>Check why</a>.</li>
     </xsl:if>
-    <xsl:if test="not(starts-with(standards-version, $lastmajorsv))">
+    <xsl:if test="standards-version!='' and not(starts-with(standards-version, $lastmajorsv))">
       <li>The package is severly out of date with respect to the Debian
 	Policy. Latest version is <xsl:value-of select="$lastsv"/>
 	and your package only follows

Reply to: