]> err.no Git - dpkg/commit
Preserve the order of dependencies and build-dependencies
authorRaphael Hertzog <hertzog@debian.org>
Sun, 2 Mar 2008 15:37:27 +0000 (16:37 +0100)
committerRaphael Hertzog <hertzog@debian.org>
Sun, 2 Mar 2008 15:37:27 +0000 (16:37 +0100)
commitbd244cd5d5699e8ece1713398c0bb4c732f60932
tree2738eb581368af989bf05e9dcfaafddd0e8d6109
parent7640314680f0a06831fbfac8f64360b0062791b9
Preserve the order of dependencies and build-dependencies

* scripts/dpkg-gencontrol.pl, scripts/dpkg-source.pl:
Do not sort the dependency fields as order matters given
the greedy algorithm that APT uses when trying to resolve
dependencies. See discussion on debian-devel:
http://lists.debian.org/debian-devel/2008/02/msg00893.html
* man/dpkg-gencontrol.1: Document the above changes.

* scripts/Dpkg/Deps.pm (simplify_deps): Tries to respect order put
by the maintainer when simplifying dependencies.
* scripts/t/400_Dpkg_Deps.t: Add a test-case to ensure that
further changes respect this constraint.

* scripts/dpkg-shlibdeps.pl: Sort generated dependencies to
have a deterministic output.
ChangeLog
debian/changelog
man/dpkg-gencontrol.1
scripts/Dpkg/Deps.pm
scripts/dpkg-gencontrol.pl
scripts/dpkg-shlibdeps.pl
scripts/dpkg-source.pl
scripts/t/400_Dpkg_Deps.t