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 2012-06-29 23:23:25 +02:00
parent e7b959b0bb
commit 0497e95b71

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