Description of problem:The latest update introduced by https://bugzilla.redhat.com/show_bug.cgi?id=662755 breaks support for using python-pygments with python2.4 which comes with base, forcing the user to install python26 from epel even if they are not interested in having a dual python installation Version-Release number of selected component (if applicable):1.4.1 How reproducible:yum install python-pygments Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.ufs.ac.za * epel: mirror.bytemark.co.uk * extras: mirror.ufs.ac.za * updates: mirror.ufs.ac.za Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package python-pygments.noarch 0:1.4-1.el5 set to be updated --> Processing Dependency: python(abi) = 2.6 for package: python-pygments --> Processing Dependency: python26-imaging for package: python-pygments --> Processing Dependency: python26-distribute for package: python-pygments --> Running transaction check ---> Package python26.x86_64 0:2.6.5-6.el5 set to be updated --> Processing Dependency: libpython2.6.so.1.0()(64bit) for package: python26 ---> Package python26-distribute.noarch 0:0.6.10-4.el5 set to be updated ---> Package python26-imaging.x86_64 0:1.1.7-4.el5 set to be updated --> Running transaction check ---> Package python26-libs.x86_64 0:2.6.5-6.el5 set to be updated --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================================================================================ Package Arch Version Repository Size ================================================================================================================================================================================ Installing: python-pygments noarch 1.4-1.el5 epel 1.3 M Installing for dependencies: python26 x86_64 2.6.5-6.el5 epel 6.5 M python26-distribute noarch 0.6.10-4.el5 epel 510 k python26-imaging x86_64 1.1.7-4.el5 epel 478 k python26-libs x86_64 2.6.5-6.el5 epel 692 k Transaction Summary ================================================================================================================================================================================ Install 5 Package(s) Upgrade 0 Package(s) Total size: 9.4 M Is this ok [y/N]: Steps to Reproduce: 1. yum install python-pygments 2. 3. Actual results: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.ufs.ac.za * epel: mirror.bytemark.co.uk * extras: mirror.ufs.ac.za * updates: mirror.ufs.ac.za Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package python-pygments.noarch 0:1.4-1.el5 set to be updated --> Processing Dependency: python(abi) = 2.6 for package: python-pygments --> Processing Dependency: python26-imaging for package: python-pygments --> Processing Dependency: python26-distribute for package: python-pygments --> Running transaction check ---> Package python26.x86_64 0:2.6.5-6.el5 set to be updated --> Processing Dependency: libpython2.6.so.1.0()(64bit) for package: python26 ---> Package python26-distribute.noarch 0:0.6.10-4.el5 set to be updated ---> Package python26-imaging.x86_64 0:1.1.7-4.el5 set to be updated --> Running transaction check ---> Package python26-libs.x86_64 0:2.6.5-6.el5 set to be updated --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================================================================================ Package Arch Version Repository Size ================================================================================================================================================================================ Installing: python-pygments noarch 1.4-1.el5 epel 1.3 M Installing for dependencies: python26 x86_64 2.6.5-6.el5 epel 6.5 M python26-distribute noarch 0.6.10-4.el5 epel 510 k python26-imaging x86_64 1.1.7-4.el5 epel 478 k python26-libs x86_64 2.6.5-6.el5 epel 692 k Transaction Summary ================================================================================================================================================================================ Install 5 Package(s) Upgrade 0 Package(s) Total size: 9.4 M Is this ok [y/N]: Expected results: It should not try and pull in python26, as pygments is supported by python24 which should be the default since it is supplied by the base, packages in EPEL should not try replacing packages in base. Additional info: The spec file is broken, because python26 support should be in the python26-pygments package not in the python-pygments.
Additional info: rpm -q --requires -p python-pygments-1.4-1.el5.noarch.rpm /usr/bin/python python(abi) = 2.4 python(abi) = 2.6 python-imaging python-setuptools python26-distribute python26-imaging rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Thats not right, it should not require any python26 packages.
*** This bug has been marked as a duplicate of bug 733432 ***