debian/bin/abicheck.py, debian/bin/abiupdate.py,
debian/lib/python/debian_linux/abi.py: Support updated version description. svn path=/dists/trunk/linux-2.6/; revision=7703
This commit is contained in:
parent
4db55f4755
commit
e3afc0557a
|
@ -67,6 +67,8 @@ class checker(object):
|
||||||
info.append("module: %s -> %s" % change_info[symbol]['module'])
|
info.append("module: %s -> %s" % change_info[symbol]['module'])
|
||||||
if change_info[symbol].has_key('version'):
|
if change_info[symbol].has_key('version'):
|
||||||
info.append("version: %s -> %s" % change_info[symbol]['version'])
|
info.append("version: %s -> %s" % change_info[symbol]['version'])
|
||||||
|
if change_info[symbol].has_key('export'):
|
||||||
|
info.append("export: %s -> %s" % change_info[symbol]['export'])
|
||||||
out.write("%-48s %s\n" % (symbol, ", ".join(info)))
|
out.write("%-48s %s\n" % (symbol, ", ".join(info)))
|
||||||
if remove:
|
if remove:
|
||||||
out.write("\nRemoved symbols:\n")
|
out.write("\nRemoved symbols:\n")
|
||||||
|
|
|
@ -32,8 +32,8 @@ class main(object):
|
||||||
changelog = changelog[0]
|
changelog = changelog[0]
|
||||||
|
|
||||||
self.source = changelog['Source']
|
self.source = changelog['Source']
|
||||||
self.version = changelog['Version']['version']
|
self.version = changelog['Version']['linux']['version']
|
||||||
self.version_source = changelog['Version']['source']
|
self.version_source = changelog['Version']['linux']['source']
|
||||||
|
|
||||||
local_config = config_reader_arch(["debian/arch"])
|
local_config = config_reader_arch(["debian/arch"])
|
||||||
|
|
||||||
|
|
|
@ -16,14 +16,16 @@ class symbols(object):
|
||||||
symbols_add[symbol] = {'module': new.symbols[symbol][0]}
|
symbols_add[symbol] = {'module': new.symbols[symbol][0]}
|
||||||
|
|
||||||
for symbol in symbols_ref.intersection(symbols_new):
|
for symbol in symbols_ref.intersection(symbols_new):
|
||||||
module_ref, version_ref = self.symbols[symbol]
|
module_ref, version_ref, export_ref = self.symbols[symbol]
|
||||||
module_new, version_new = new.symbols[symbol]
|
module_new, version_new, export_new = new.symbols[symbol]
|
||||||
|
|
||||||
ent = {}
|
ent = {}
|
||||||
if module_ref != module_new:
|
if module_ref != module_new:
|
||||||
ent['module'] = module_ref, module_new
|
ent['module'] = module_ref, module_new
|
||||||
if version_ref != version_new:
|
if version_ref != version_new:
|
||||||
ent['version'] = version_ref, version_new
|
ent['version'] = version_ref, version_new
|
||||||
|
if export_ref != export_new:
|
||||||
|
ent['export'] = export_ref, export_new
|
||||||
if ent:
|
if ent:
|
||||||
symbols_change[symbol] = ent
|
symbols_change[symbol] = ent
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue