path: root/
diff options
authorNiels de Vos <>2019-02-22 15:17:48 +0100
committerNiels de Vos <>2019-02-22 16:42:54 +0100
commitb235a56394c09bb1d7308a620053dbe098d15967 (patch)
treeeca0d573cedee282672b17202a2e04c36a3f71d3 /
parentd3608bd26cbc3e47fc0e60e85bd9f66515e050b1 (diff)
build: include gluster/__init__.* files for python packaging
The gluster/ file was originaly part of the glupy installation. This file is required to have the python-gluster package function correctly, it is expected to provide the 'gluster' namespace for other python packages (like from the libgfapi-python project). Because glupy does not exist anymore, this file is now added to in a new extras/python directory. Change-Id: I14fe959778ee3344d7d54ba342c7928a4d8080a2 Fixes: c3fcff9ccbfcec1be242fd5cf210c9995586b078 Fixes: 8293d21280fd6ddfc9bb54068cf87794fc6be207 Updates: bz#1642810 Signed-off-by: Niels de Vos <>
Diffstat (limited to '')
1 files changed, 3 insertions, 0 deletions
diff --git a/ b/
index 45b671e..205b51d 100644
--- a/
+++ b/
@@ -1186,9 +1186,12 @@ exit 0
# so that all other gluster submodules can reside in the same namespace.
%if ( %{_usepython3} )
%dir %{python3_sitelib}/gluster
+ %{python3_sitelib}/gluster/__init__.*
+ %{python3_sitelib}/gluster/__pycache__
%dir %{python2_sitelib}/gluster
+ %{python2_sitelib}/gluster/__init__.*