Package: debhelper
Version: 5.0.50
Severity: minor

The package dh-make-php version 0.2.3 has these files, and that is OK:

/usr/share/doc/dh-make-php/ChangeLog.old
/usr/share/doc/dh-make-php/changelog.gz

This is OK because:

head -n 1 ChangeLog.old 
For changes after 0.0.13 see the debian changelog file

Now imagine that someone would do an NMU of dh-make-php.  The right
version would be 0.2.3-0.1 according to Debian Policy.  The package
dh-make-php 0.2.3-0.1 would have these files, and that is not OK:

/usr/share/doc/dh-make-php/ChangeLog.old
/usr/share/doc/dh-make-php/changelog.Debian.gz

I think that "isnative" in Dh_Lib.pm evaluates the NMU package as a
non-native package because of the "-0.1" debian-revision, causing
dh_installchangelogs to install debian/changelog as changelog.Debian.gz.

A workaround is adding this after dh_installchangelogs in debian/rules:

        -mv debian/dh-make-php/usr/share/doc/dh-make-php/changelog.Debian 
debian/dh-make-php/usr/share/doc/dh-make-php/changelog




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to