[pkg-php-pear] RFS: php-mail/1.2.0-6 (fix FTBFS #730316)

Prach Pongpanich prachpub at gmail.com
Wed Nov 27 08:13:08 UTC 2013


On Tue, Nov 26, 2013 at 11:05 PM, Thomas Goirand <thomas at goirand.fr> wrote:
> On 11/26/2013 01:51 AM, Prach Pongpanich wrote:
>> Hi,
>>
>> I have updated php-mail to fix  #730316.
>>
>> http://anonscm.debian.org/gitweb/?p=pkg-php/php-mail.git
>>
>> Can anyone review and upload it.
>>
>>
>> Thanks,
>>  Prach
>
> If we don't want to ship tests anymore, shouldn't pkg-php-tools be
> modified instead of doing this in every packages?

I agree with you, I provide the patch for this.


[PATCH] Also remove tests files

--- a/lib/perl/Debian/Debhelper/Buildsystem/phppear.pm
+++ b/lib/perl/Debian/Debhelper/Buildsystem/phppear.pm
@@ -186,6 +186,7 @@ sub configure {
         $this->doit_in_sourcedir('sed', '-i',
             '-e', 's/md5sum="[^"]*"//',
             '-e', 's/sha1sum="[^"]*"//',
+            '-e', '/role="test"/d',
             $this->_get_peardir()."/package.xml");
         if ($this->{phppkginfo_package_type} eq 'extsrc') { # PECL
             $this->_set_sourcedir($this->_get_peardir());

 Prach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Also-remove-tests-files.patch
Type: application/x-php
Size: 883 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20131127/7438bcb0/attachment.bin>


More information about the pkg-php-pear mailing list