There are some problems when packaging collections depending on python27: 1) %__python macro is defined in form of %{__bindir}/python, which makes the macro point somewhere else (%__bindir is /opt/rh/<new_collection>) 2) %python27_os_install_post has "scl enable %{scl}", which doesn't enable python27 collection and python fails (can't find correct libpython.so) 1) should be solved by creating %python27_python macro (with hardcoded path) and using it in collection metapackage in %scl_package_override to redefine %__python 2) should be solved by hardcoding "python27" as scl name to make sure it is always invoked properly
Also, %python_{sitelib,sitearch,version} should be handled similarly as %__python.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-0610.html