I tried for this existing RPM:
https://koji.rpmfusion.org/koji/rpminfo?rpmID=916478
to run this simple script:
---------------
>> import koji
>> session =
koji.ClientSession('https://koji.rpmfusion.org/kojihub')
>> session.getRPMDeps(916478)
[{'type': 0, 'version':
'', 'flags': 0, 'name': 'cargo'},
...
name': 'zerotier-one-debugsource'}]
>> session.getRPMHeaders(916478)
{}
---------------
Is there a reason the getRPMHeaders() method returns empty {} on every
RPM (or at least every RPM I tried) ?
API reference I used:
https://koji.rpmfusion.org/koji/api
Michal
--
Michal Schorm
Software Engineer
Core Services - Databases Team
Red Hat
--