mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-23 00:11:32 +00:00
Always include providers of virtual packages in rdepends
Signed-off-by: Niels Thykier <niels@thykier.net>
This commit is contained in:
parent
e605091f24
commit
c74ee2878b
@ -600,8 +600,8 @@ class Britney(object):
|
|||||||
# register real packages
|
# register real packages
|
||||||
if a[0] in packages and (not check_doubles or pkg not in packages[a[0]][RDEPENDS]):
|
if a[0] in packages and (not check_doubles or pkg not in packages[a[0]][RDEPENDS]):
|
||||||
packages[a[0]][RDEPENDS].append(pkg)
|
packages[a[0]][RDEPENDS].append(pkg)
|
||||||
# register packages which provide a virtual package
|
# also register packages which provide the package (if any)
|
||||||
elif a[0] in provides:
|
if a[0] in provides:
|
||||||
for i in provides.get(a[0]):
|
for i in provides.get(a[0]):
|
||||||
if i not in packages: continue
|
if i not in packages: continue
|
||||||
if not check_doubles or pkg not in packages[i][RDEPENDS]:
|
if not check_doubles or pkg not in packages[i][RDEPENDS]:
|
||||||
@ -613,8 +613,8 @@ class Britney(object):
|
|||||||
# register real packages
|
# register real packages
|
||||||
if a[0] in packages and (not check_doubles or pkg not in packages[a[0]][RCONFLICTS]):
|
if a[0] in packages and (not check_doubles or pkg not in packages[a[0]][RCONFLICTS]):
|
||||||
packages[a[0]][RCONFLICTS].append(pkg)
|
packages[a[0]][RCONFLICTS].append(pkg)
|
||||||
# register packages which provide a virtual package
|
# also register packages which provide the package (if any)
|
||||||
elif a[0] in provides:
|
if a[0] in provides:
|
||||||
for i in provides[a[0]]:
|
for i in provides[a[0]]:
|
||||||
if i not in packages: continue
|
if i not in packages: continue
|
||||||
if not check_doubles or pkg not in packages[i][RCONFLICTS]:
|
if not check_doubles or pkg not in packages[i][RCONFLICTS]:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user