diff options
author | Pavan Sondur <pavan@gluster.com> | 2010-08-17 10:37:21 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-08-17 11:18:30 -0700 |
commit | 711ea846fd1c1a5f15ed7a54501ffd41097d0cf6 (patch) | |
tree | 05414ca80ca2fea6fcfbc8e52ee785ec1e936987 /glusterfs.spec.in | |
parent | 8e6be30d2233e766398bd03dedf2b576131804c3 (diff) |
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
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r-- | glusterfs.spec.in | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index c43093de193..47512ee0cc1 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -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 is in userspace and easily manageable. -%package main +%package core Summary: GlusterFS common files for both the client and the server Group: System Environment/Libraries Obsoletes: glusterfs-libs <= 2.0.0 Provides: glusterfs-libs = %{version}-%{release} -%description main +%description core GlusterFS is a clustered file-system capable of scaling to several peta-bytes. It aggregates various storage bricks over Infiniband RDMA or TCP/IP interconnect into one large parallel network file @@ -117,19 +117,19 @@ find %{buildroot}%{_libdir} -name '*.a' | xargs rm -f %clean %{__rm} -rf %{buildroot} -%post main +%post core /sbin/ldconfig -n %{_libdir} /sbin/chkconfig --add glusterfsd -%postun main +%postun core /sbin/ldconfig -n %{_libdir} -%preun main +%preun core if [ $1 -eq 0 ]; then /sbin/chkconfig --del glusterfsd fi -%files main +%files core %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING INSTALL NEWS README %doc /usr/share/doc/glusterfs |