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-06-20 03:39:18 -0700
commitd0547a28f59d80ed572652af3e327b761c4e540f (patch)
treef8c5fb64efdb6ee60723cb4c5a097b7b8df1d8db /glusterfs.spec.in
parent9d2b7cd3e8161f557390b5b434464362a0ba7a16 (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. Change-Id: I90a0a29972f5230b8b440e8941aaca8a62e497a6 Signed-off-by: Humble Chirammal <hchiramm@redhat.com> 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>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in16
1 files changed, 0 insertions, 16 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index a9061ced62a..df5ce81d2ed 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -501,11 +501,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}
@@ -513,10 +508,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 \
@@ -853,16 +844,9 @@ fi
%files api
%exclude %{_libdir}/*.so
-# Shared Python-GlusterFS files
-%{python_sitelib}/gluster/__init__.*
# 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