]> err.no Git - dpkg/commit
Deperecate a symbol only when the history of version matches.
authorRaphael Hertzog <hertzog@debian.org>
Tue, 14 Aug 2007 13:22:23 +0000 (15:22 +0200)
committerRaphael Hertzog <hertzog@debian.org>
Tue, 14 Aug 2007 13:22:23 +0000 (15:22 +0200)
commitfddb619b2d5d92bb7b735688ac78e260583b75a4
tree646b7086798cf76e10626c29daebbef38dd2b073
parent1c2c6ce514c967348ebae88e5afc5ed3ff9da183
Deperecate a symbol only when the history of version matches.

When merging symbols in a SymbolFile, a symbol is deprecated when it has
disappeared from the new set of symbols. However when the new set of
symbols dates back to before the current one, deprecating doesn't make
sense. This patch corrects this behaviour. Also add a test to verify that
symbols got correctly marked as deprecated.
scripts/Dpkg/Shlibs/SymbolFile.pm
scripts/t/200_Dpkg_Shlibs.t