[php-maint] Bug#893967: Bug#893967: php-defaults: Drop distribution name from package descriptions

Jeremy Bicha jbicha at debian.org
Mon Mar 26 11:30:01 UTC 2018

On Mon, Mar 26, 2018 at 6:18 AM, Ondřej Surý <ondrej at sury.org> wrote:
> the d/control is generated from d/control.in and the contents are crafted based on number of supported PHP version, as the default PHP version and supported versions might differ between Debian, Ubuntu and other distributions.
> It might be just fine to replace Debian with a substvar though, patches are welcome, php-defaults is hosted on salsa.d.o.

I actually tried that before filing this bug. But it looked to me like
debian/control has to be manually regenerated (unlike Debian GNOME
packages where debian/control is actually modified during the build
but only to update the Uploaders field.)

So unless I also modify debian/rules to update debian/control (or
maybe dh_gencontrol) during the build, Ubuntu still wouldn't be able
to literally sync the package from Debian to have the package not
claim to be representing Debian's default PHP version. It looked like
using dh_gencontrol would be a bit ugly.

Jeremy Bicha

More information about the pkg-php-maint mailing list