Skip to content
Snippets Groups Projects
Commit 120fd5b3 authored by ballen4705's avatar ballen4705
Browse files

Fixed smartmontools.spec and smartd.initd so that they should work correctly

with Redhat 6.x.  Thanks to Gerald Schnabel.


git-svn-id: https://smartmontools.svn.sourceforge.net/svnroot/smartmontools/trunk@740 4ea69e1a-61f1-4043-bf83-b5c94c648137
parent 24948945
No related branches found
No related tags found
No related merge requests found
CHANGELOG for smartmontools
$Id: CHANGELOG,v 1.142 2003/05/07 14:48:17 ballen4705 Exp $
$Id: CHANGELOG,v 1.143 2003/05/09 19:20:23 ballen4705 Exp $
Copyright (C) 2002-3 Bruce Allen <smartmontools-support@lists.sourceforge.net>
......@@ -37,6 +37,11 @@ CURRENT DEVELOPMENT VERSION (see VERSION file in this directory):
<ADDITIONS TO THE CHANGE LOG SHOULD BE ADDED HERE, PLEASE>
[BA] Modified smartmontools.spec [Man pages location] and
smartd.initd [Extra space kills chkconfig!] for Redhat 6.x
compatibility (thanks to Gerald Schnabel).
smartmontools-5.1-11
[EB] Add another Fujitsu disk to knowndrives.c
......
11
12
......@@ -6,7 +6,7 @@
#
# processname: smartd
#
# $Id: smartd.initd,v 1.5 2003/03/06 07:27:18 ballen4705 Exp $
# $Id: smartd.initd,v 1.6 2003/05/09 19:20:23 ballen4705 Exp $
#
# Copyright (C) 2002-3 Bruce Allen <smartmontools-support@lists.sourceforge.net>
#
......
......@@ -30,7 +30,7 @@ Packager: Bruce Allen <smartmontools-support@lists.sourceforge.net>
# http://ftp1.sourceforge.net/smartmontools/smartmontools-%{version}-%{release}.tar.gz
# CVS ID of this file is:
# $Id: smartmontools.spec,v 1.98 2003/05/07 14:29:19 ballen4705 Exp $
# $Id: smartmontools.spec,v 1.99 2003/05/09 19:20:23 ballen4705 Exp $
# Copyright (C) 2002-3 Bruce Allen <smartmontools-support@lists.sourceforge.net>
# Home page: http://smartmontools.sourceforge.net/
......@@ -204,6 +204,13 @@ make
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
# Red Hat 6.x: move manuals (man directory) from %datadir to %prefix
if [ -f /etc/redhat-release ]; then
if `cat /etc/redhat-release | grep >/dev/null 2>&1 "release 6."`; then
mv -f $RPM_BUILD_ROOT%{_datadir}/man $RPM_BUILD_ROOT%{_prefix}
fi
fi
%files
%defattr(-,root,root)
%attr(755,root,root) %{_sbindir}/smartd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment