summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
authorHumble Chirammal <hchiramm@redhat.com>2014-05-29 11:04:56 +0530
committerVijay Bellur <vbellur@redhat.com>2014-07-14 09:47:36 -0700
commitfc84c5af7b5515673f51a47f671738914c7c3530 (patch)
tree26796ffd05288615c7249a2e94bbc85a47acf0dd /glusterfs.spec.in
parent7c74e9c24a06c7ae8f29c4980ea8bffecb01a2c9 (diff)
gfapi : remove gfapi.py to avoid confusion
python binding of libgfapi is evolving via libgfapi-python project. The example available here confuses end users, so removing it from this path. Signed-off-by: Humble Chirammal <hchiramm@redhat.com> Bug Id: 1119328 > Reviewed-on: http://review.gluster.org/7920 > Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com> > Tested-by: Humble Devassy Chirammal <humble.devassy@gmail.com> > Reviewed-by: Thiago da Silva <thiago@redhat.com> > Reviewed-by: Prashanth Pai <ppai@redhat.com> > Reviewed-by: Vijay Bellur <vbellur@redhat.com> Change-Id: I17b3aa0f0505342496019ce012cca21d84184027 Reviewed-on: http://review.gluster.org/8237 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in14
1 files changed, 0 insertions, 14 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 6c3ff402735..b6068ff792a 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -508,11 +508,6 @@ pushd xlators/features/glupy/src
FLAGS="$RPM_OPT_FLAGS" python setup.py build
popd
-# Build the Python libgfapi examples
-pushd api/examples
-FLAGS="$RPM_OPT_FLAGS" python setup.py build
-popd
-
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
@@ -520,10 +515,6 @@ make install DESTDIR=%{buildroot}
pushd xlators/features/glupy/src
python setup.py install --skip-build --verbose --root %{buildroot}
popd
-# install the gfapi Python library in /usr/lib/python*/site-packages
-pushd api/examples
-python setup.py install --skip-build --verbose --root %{buildroot}
-popd
# Install include directory
mkdir -p %{buildroot}%{_includedir}/glusterfs
install -p -m 0644 libglusterfs/src/*.h \
@@ -870,11 +861,6 @@ fi
# libgfapi files
%{_libdir}/libgfapi.*
%{_libdir}/glusterfs/%{version}%{?prereltag}/xlator/mount/api*
-%{python_sitelib}/gluster/gfapi.*
-# Don't expect a .egg-info file on EL5
-%if ( ! ( 0%{?rhel} && 0%{?rhel} < 6 ) )
-%{python_sitelib}/glusterfs_api*.egg-info
-%endif
%files api-devel
%{_libdir}/pkgconfig/glusterfs-api.pc