From da71d1359c1335997595935dbaa07c5747231861 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Sun, 1 Mar 2009 05:35:18 -0800 Subject: Added proper handling for the init scripts for (Debian, Ubuntu, SuSE, Redhat), SuSE init script also added. * Init scripts added for Debian, Redhat, SuSE distribution, each are installed by checking each distribution specific. Tested on 1. Debian, Ubuntu. 2. Redhat, CentOS. 3. OpenSUSE. Signed-off-by: Anand V. Avati --- glusterfs.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'glusterfs.spec.in') diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 24f9e99bbad..ba1a0a66808 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -61,7 +61,7 @@ Requires: apache >= 1.3 %endif %endif BuildRequires: libtool -BuildRequires: byacc bison flex +BuildRequires: bison flex BuildRequires: gcc BuildRequires: make URL: ftp://ftp.zresearch.com/pub/gluster/glusterfs/1.4-qa/@PACKAGE_NAME@-@PACKAGE_VERSION@.tar.gz @@ -154,7 +154,7 @@ This package provides the development libraries. %_prefix/sbin/glusterfsd %_mandir/man8/glusterfs.8.gz %_infodir/user-guide.info.gz -%_sysconfdir/init.d/glusterfsd +%config %_sysconfdir/init.d/glusterfsd %exclude %_infodir/dir %if %with_client -- cgit