[pkg-php-pear] Bug#802989: Composer: ~5 translates badly as (>= 5) and (<< 1~~)
David Prévot
taffit at debian.org
Sun Oct 25 20:03:57 UTC 2015
Package: pkg-php-tools
Version: 1.30
Severity: normal
Hi,
While looking at the latest (2.0.1) version of phpunit-dbunit (Vcs up to
date, except the changelog entry), I noticed that the following entry in
composer.json:
"require": {
[…]
"phpunit/phpunit": "~5",
was translated as “phpunit (>= 5), phpunit (<< 1~~)” by dh_phpcomposer,
making the package uninstallable (even if phpunit 5 were available),
instead of the expected “phpunit (>= 5), phpunit (<< 6~~)”.
I haven’t tracked down the issue, sorry, but filling a bug report not to
forget it.
Regards
David
-- System Information:
Debian Release: stretch/sid
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable-proposed-updates'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (100, 'buildd-unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.3.0-rc5-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages pkg-php-tools depends on:
ii debhelper 9.20151005
ii php-pear 5.6.14+dfsg-1
ii php5-cli 5.6.14+dfsg-1
ii php5-json 1.3.7-1
pkg-php-tools recommends no packages.
Versions of packages pkg-php-tools suggests:
ii dh-make 1.20150601
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-pear/attachments/20151025/4d622786/attachment.sig>
More information about the pkg-php-pear
mailing list