Ignore sources only referenced by Built-Using

Signed-off-by: Niels Thykier <niels@thykier.net>
Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>
This commit is contained in:
Niels Thykier 2013-01-12 12:31:17 +01:00
parent 2ccfc4120c
commit b0172d74c4

View File

@ -453,6 +453,9 @@ class Britney(object):
step = Packages.step
while step():
if get_field('Extra-Source-Only', 'no') == 'yes':
# Ignore sources only referenced by Built-Using
continue
pkg = get_field('Package')
ver = get_field('Version')
# There may be multiple versions of the source package