rpm spec: rename glusterfs-main to glusterfs-core
Signed-off-by: Pavan Vilas Sondur <pavan@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1275 (Fix rpm glusterfs spec file for 3.1) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1275
This commit is contained in:
committed by
Anand V. Avati
parent
8e6be30d22
commit
711ea846fd
@@ -38,13 +38,13 @@ terms of features and extensibility. It borrows a powerful concept
|
|||||||
called Translators from GNU Hurd kernel. Much of the code in GlusterFS
|
called Translators from GNU Hurd kernel. Much of the code in GlusterFS
|
||||||
is in userspace and easily manageable.
|
is in userspace and easily manageable.
|
||||||
|
|
||||||
%package main
|
%package core
|
||||||
Summary: GlusterFS common files for both the client and the server
|
Summary: GlusterFS common files for both the client and the server
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Obsoletes: glusterfs-libs <= 2.0.0
|
Obsoletes: glusterfs-libs <= 2.0.0
|
||||||
Provides: glusterfs-libs = %{version}-%{release}
|
Provides: glusterfs-libs = %{version}-%{release}
|
||||||
|
|
||||||
%description main
|
%description core
|
||||||
GlusterFS is a clustered file-system capable of scaling to several
|
GlusterFS is a clustered file-system capable of scaling to several
|
||||||
peta-bytes. It aggregates various storage bricks over Infiniband RDMA
|
peta-bytes. It aggregates various storage bricks over Infiniband RDMA
|
||||||
or TCP/IP interconnect into one large parallel network file
|
or TCP/IP interconnect into one large parallel network file
|
||||||
@@ -117,19 +117,19 @@ find %{buildroot}%{_libdir} -name '*.a' | xargs rm -f
|
|||||||
%clean
|
%clean
|
||||||
%{__rm} -rf %{buildroot}
|
%{__rm} -rf %{buildroot}
|
||||||
|
|
||||||
%post main
|
%post core
|
||||||
/sbin/ldconfig -n %{_libdir}
|
/sbin/ldconfig -n %{_libdir}
|
||||||
/sbin/chkconfig --add glusterfsd
|
/sbin/chkconfig --add glusterfsd
|
||||||
|
|
||||||
%postun main
|
%postun core
|
||||||
/sbin/ldconfig -n %{_libdir}
|
/sbin/ldconfig -n %{_libdir}
|
||||||
|
|
||||||
%preun main
|
%preun core
|
||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
/sbin/chkconfig --del glusterfsd
|
/sbin/chkconfig --del glusterfsd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%files main
|
%files core
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
|
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
|
||||||
%doc /usr/share/doc/glusterfs
|
%doc /usr/share/doc/glusterfs
|
||||||
|
Reference in New Issue
Block a user