[pkg-php-pear] Bug#737695: Bug#737695: pkg-php-tools: Please, remove test 'data' directory as well.

Prach Pongpanich prachpub at gmail.com
Wed Feb 5 04:32:30 UTC 2014


Hi  Dario,

On Wed, Feb 5, 2014 at 11:02 AM, Dario Minnucci <midget at debian.org> wrote:
> Hi guys,
>
> While rebuilding my packages using 'pkg-php-tools 1.11' (as per BTS #736294),
> I've spotted you've remove 'tests' directories but 'data' directory is still
> present in the resulting package.
>
> Shouldn't 'data' directory be removed too?
>

Not sure to remove 'data' directory instead of role="data" [1] with
the pkg-php-tools, but you can do like this.

debian/rules:
override_dh_auto_configure:
  dh_auto_configure -O--buildsystem=phppear
  sed -i '/ role="data"/d' */package.xml

[1] http://pear.php.net/manual/en/guide.users.concepts.filerole.php

Cheers,
 Prach



More information about the pkg-php-pear mailing list