mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 11:01:09 +00:00
Handle metapackages
If a metapackage gets pulled in as related, do not let it mess up the license list.
This commit is contained in:
parent
7b3c1e5405
commit
41c3c4fb5f
@ -35,6 +35,8 @@ for rpm in rpmlist:
|
||||
for relrpm in srpmtorpm[srpm]:
|
||||
liclist = runcmd(f'rpm -qL {relrpm}')
|
||||
for lic in liclist:
|
||||
if lic == '(contains no files)':
|
||||
continue
|
||||
licenses.add(lic)
|
||||
for lic in sorted(licenses):
|
||||
print(lic)
|
||||
|
Loading…
Reference in New Issue
Block a user