When using the lint command, the rpm list includes duplicate packages
which are then checked via rpmlint multiple times.
Simplify the listing of rpm files using glob rather than looping over os.listdir(). Use set rather than list to ensure there are no
duplicates in the rpms or arches lists. Sort the rpms when calling
rpmlint for consistent ordering across lint runs.
When using the lint command, the rpm list includes duplicate packages
which are then checked via rpmlint multiple times.
Simplify the listing of rpm files using
globrather than looping overos.listdir(). Usesetrather thanlistto ensure there are noduplicates in the rpms or arches lists. Sort the rpms when calling
rpmlint for consistent ordering across lint runs.
Signed-off-by: Todd Zullinger tmz@pobox.com