Description of problem: When doing a query for a src package using fedora 17 repositories, the hawkey package object of the src package returns a wrong sourcerpm property. For example package object for "basesystem-10.0-6.fc17.src" has a sourcerpm property of "basesystem-10.0-6.fc17..rpm" when it should be empty. Version-Release number of selected component (if applicable): How reproducible: Do a query for a src package and print the packages sourcerpm property. Steps to Reproduce: 1. Load fedora 17 source repos. 2. Do a query filter: query = hawkey.Query(sack) query.filterm(name='basesystem', arch='src') query.run() 3. print str(query.result[0]), query.result[0].sourcerpm Actual results: basesystem-10.0-6.fc17.src basesystem-10.0-6.fc17..rpm Expected results: basesystem-10.0-6.fc17.src None Additional info:
Thanks for the report, this is fixed on master now by debe05e. The Python-side change is described here: http://akozumpl.github.com/hawkey/changes.html#changes-in-0-2-11
hawkey-0.2.11-3.git0245875.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/hawkey-0.2.11-3.git0245875.fc18
Package hawkey-0.2.11-3.git0245875.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing hawkey-0.2.11-3.git0245875.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-14575/hawkey-0.2.11-3.git0245875.fc18 then log in and leave karma (feedback).
hawkey-0.2.11-4.git687ceab.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/hawkey-0.2.11-4.git687ceab.fc18
hawkey-0.2.11-3.git0245875.fc18 has been pushed to the Fedora 18 obsolete repository. If problems still persist, please make note of it in this bug report.