Re: [SCM] Debian package checker branch, master, updated. 2.2.10-50-g36e3dc2
On Tue, 2009-05-19 at 20:12 +0000, Adam D. Barratt wrote:
> Don't include empty alternatives in lists of required dependencies
>
> * checks/scripts:
> + [ADB] Do not include an empty alternative in the list of suggested
> dependencies for an interpreter when the interpreter may be
> unversioned but the dependency may not. For example, pikeX.Y provide
> /usr/bin/pike and /usr/bin/pikeX.Y but there is no "pike" package.
Specifically, this removes the empty alternative at the beginning of:
unrar-free (binary)
pike => | pike7.6 | pike7.6-core (./usr/share/unrar-free/misc/tarar.pike)
The only interpreters that currently meet the criteria to have the
problem are pike and php, and the latter is handled by
php-script-but-no-phpX-cli-dep anyway, which is presumably why no-one's
spotted this yet.
[...]
> diff --git a/t/tests/scripts-interpreters/debian/debian/install b/t/tests/scripts-interpreters/debian/debian/install
> new file mode 100644
> index 0000000..c86edc9
> --- /dev/null
> +++ b/t/tests/scripts-interpreters/debian/debian/install
> @@ -0,0 +1,2 @@
> +unversioned-pike usr/bin/
> +versioned-pike usr/bin/
I'm planning on adding some more examples to this testset; for the
moment I've been a little lazy and only included those required to
verify the change.
Adam
Reply to: