Created attachment 463109 [details] This patch fixes it Description of problem: Acording to http://www.rpm.org/max-rpm-snapshot/s1-rpm-depend-manual-dependencies.html, it's valid to check version only for epoch Version-Release number of selected component (if applicable): rpmlint-1.0-1.fc15.noarch How reproducible: 100% Steps to Reproduce: 1. Create some spec file containing `Obsoletes: foo < %{epoch}:' 2. Build the package 3. rpmlint package Actual results: Traceback (most recent call last): File "/usr/share/rpmlint/rpmlint.py", line 364, in <module> main() File "/usr/share/rpmlint/rpmlint.py", line 159, in main runChecks(pkg) File "/usr/share/rpmlint/rpmlint.py", line 219, in runChecks check.check(pkg) File "/usr/share/rpmlint/TagsCheck.py", line 787, in check value = apply(Pkg.formatRequire, o) File "/usr/share/rpmlint/Pkg.py", line 305, in formatRequire s = "%s %s" % (s, versionToString(evr)) File "/usr/share/rpmlint/Pkg.py", line 315, in versionToString ret += evr[1] TypeError: cannot concatenate 'str' and 'NoneType' objects Expected results: Success run. Additional info: Does not traceback when running on spec file or SRPM
Thanks, applied upstream. http://rpmlint.zarb.org/cgi-bin/trac.cgi/changeset/1816
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
rpmlint-1.2-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/rpmlint-1.2-1.fc14
rpmlint-1.2-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/rpmlint-1.2-1.fc15
rpmlint-1.2-1.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/rpmlint-1.2-1.fc13
Package rpmlint-1.2-1.fc14: * should fix your issue, * was pushed to the Fedora 14 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing rpmlint-1.2-1.fc14' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/rpmlint-1.2-1.fc14 then log in and leave karma (feedback).
rpmlint-1.2-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
rpmlint-1.2-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
rpmlint-1.2-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.