Package: dh-make-php
Version: 0.0.9-1
Severity: normal

When changelog.xsl shows package.xml it dont write the las entry of the
package.xml changelog to autogenerated upstream Changelog, because the
entry of the current version is in "/package/release/notes", not in
"/package/changelog/release/notes". With this litle patch you can solve
this problem.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.1-angel-1
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages dh-make-php depends on:
ii  xsltproc                      1.1.14-1   XSLT command line processor

dh-make-php recommends no packages.

-- no debconf information
Apply by doing:
      cd /usr/share/dh-make-php/xslt
      patch -p0 < changelog.diff

=================================================================================================
      
--- changelog.xsl       2005-09-11 16:31:13.000000000 +0200
+++ changelog2.xsl      2005-09-11 16:32:38.000000000 +0200
@@ -96,6 +96,9 @@
   </func:function>
 
   <xsl:template match="package">
+    <xsl:apply-templates select="release">
+      <xsl:sort order="descending" 
select="util:ver2num(normalize-space(version))" data-type="text"/>
+    </xsl:apply-templates>
     <xsl:apply-templates select="changelog/release">
       <xsl:sort order="descending" 
select="util:ver2num(normalize-space(version))" data-type="text"/>
     </xsl:apply-templates>

Reply via email to