+++ This bug was initially created as a clone of Bug #1190832 +++ Description of problem: $ rpm -ql glusterfs-api /usr/lib/python2.7/site-packages/gluster/__init__.py /usr/lib/python2.7/site-packages/gluster/__init__.pyc /usr/lib/python2.7/site-packages/gluster/__init__.pyo /usr/lib/python2.7/site-packages/gluster/gfapi.py /usr/lib/python2.7/site-packages/gluster/gfapi.pyc /usr/lib/python2.7/site-packages/gluster/gfapi.pyo /usr/lib/python2.7/site-packages/glusterfs_api-3.5.3-py2.7.egg-info /usr/lib64/glusterfs/3.5.3/xlator/mount/api.so /usr/lib64/libgfapi.so.0 /usr/lib64/libgfapi.so.0.0.0 $ rpm -qf /usr/lib/python2.7/site-packages/gluster/ file /usr/lib/python2.7/site-packages/gluster is not owned by any package As you can see, /usr/lib/python2.7/site-packages/gluster/ is being used but not owned by the package. I believe that does not conform to the packaging guidelines. Version-Release number of selected component (if applicable): glusterfs-api-3.5.3-1.fc21.x86_64
N.B. /usr/lib/python2.7/site-packages/glusterfs/__init__.* should be owned by -extra-translators (glupy) in 3.6 and mainline/3.7. In 3.5 /usr/lib/python2.7/site-packages/glusterfs/__init__.* is owned by -api (gfapi).
/usr/lib/python2.7/site-packages/glusterfs/__init__.* should be owned by glusterfs-api. The reasoning for this is that the glusterfs-api package should be installed for all the language bindings, including libgfapi-python. By including the __init__.* file (and it's parent directory), Python recognizes the directory as an (empty) Python 'package'. It makes 'import glusterfs' work. By putting this file in glusterfs-api, other packages can drop-in their Python modules without needing to do anything special, they only need to have a requires on glusterfs-api.
I do not think this is a problem anymore. We have introduced the python-gluster package for exactly this reason.