diff --git a/sm5/CHANGELOG b/sm5/CHANGELOG index ac99db7a768e4ca44dae843e9c7dc1f040815b42..d88ec2d721fcb265c21522db10125a6ba168c485 100644 --- a/sm5/CHANGELOG +++ b/sm5/CHANGELOG @@ -1,6 +1,6 @@ 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 diff --git a/sm5/VERSION b/sm5/VERSION index b4de3947675361a7770d29b8982c407b0ec6b2a0..48082f72f087ce7e6fa75b9c41d7387daecd447b 100644 --- a/sm5/VERSION +++ b/sm5/VERSION @@ -1 +1 @@ -11 +12 diff --git a/sm5/smartd.initd b/sm5/smartd.initd index 973a98cfba481b08daba31e4698c7645ca7a529c..87c0bbafef99ecfeb5cbc2a737c79bfe5203b8e4 100755 --- a/sm5/smartd.initd +++ b/sm5/smartd.initd @@ -1,12 +1,12 @@ #!/bin/bash -# chkconfig: 35 40 40 +# chkconfig: 35 40 40 # smartmontools init file for smartd # # description: Self Monitoring and Reporting Technology (SMART) Daemon # # 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> # diff --git a/sm5/smartmontools.spec b/sm5/smartmontools.spec index 3b40da2b99a77f91163cf3822dbb96737b29d1df..bba458efa3d7661d51cf2060813f4aaad8030f7e 100644 --- a/sm5/smartmontools.spec +++ b/sm5/smartmontools.spec @@ -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