Description of problem: Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Install rpmlint=0.78 on a system with python 2.3 2. Run it Actual results: Traceback (most recent call last): File "/usr/share/rpmlint/rpmlint.py", line 270, in ? main() File "/usr/share/rpmlint/rpmlint.py", line 52, in main loadCheck(c) File "/usr/share/rpmlint/rpmlint.py", line 38, in loadCheck imp.load_module(name, f, pathname, description) File "/usr/share/rpmlint/MenuXDGCheck.py", line 13, in ? import subprocess ImportError: No module named subprocess Expected results: I would expect rpmlint-0.78*.noarch.rpm to refuse to be installed on systems which do not have python-2.4. For now rpm -q --requires rpmlint|grep python gives: /usr/bin/python python >= 2.0 rpm-python Additional info: Seen on centos 4.4 (which uses python-2.3.4)
The intention is to keep rpmlint working on reasonably recent versions of Python, such as that of CentOS 4. Fixed upstream, will be in the next release: http://rpmlint.zarb.org/cgi-bin/trac.cgi/changeset/1303
Thanks, seems to work OK. Closing.
Thanks for verifying the fix, but I'll reopen this until a fixed version is shipped in Fedora - it may help others wrestling with the same issue.
Done in upcoming 0.79-1.