Lines 27-33
Link Here
|
27 |
reg = self.dbapi.plib_registry |
27 |
reg = self.dbapi.plib_registry |
28 |
consumers = set() |
28 |
consumers = set() |
29 |
if reg: |
29 |
if reg: |
30 |
for libs in reg.getPreservedLibs().values(): |
30 |
plib_dict = reg.getPreservedLibs() |
|
|
31 |
for libs in plib_dict.itervalues(): |
31 |
for lib in libs: |
32 |
for lib in libs: |
32 |
if self.debug: |
33 |
if self.debug: |
33 |
print lib |
34 |
print lib |
Lines 35-40
Link Here
|
35 |
print " ", x |
36 |
print " ", x |
36 |
print "-"*40 |
37 |
print "-"*40 |
37 |
consumers.update(self.dbapi.linkmap.findConsumers(lib)) |
38 |
consumers.update(self.dbapi.linkmap.findConsumers(lib)) |
|
|
39 |
# Don't rebuild packages just because they contain preserved |
40 |
# libs that happen to be consumers of other preserved libs. |
41 |
for libs in plib_dict.itervalues(): |
42 |
consumers.difference_update(libs) |
38 |
else: |
43 |
else: |
39 |
return |
44 |
return |
40 |
if not consumers: |
45 |
if not consumers: |