diff --git a/smartmontools-5.40-manfix.patch b/smartmontools-5.40-manfix.patch new file mode 100644 index 0000000..aab551d --- /dev/null +++ b/smartmontools-5.40-manfix.patch @@ -0,0 +1,21 @@ +diff -up smartmontools-5.40/smartctl.8.in.manfix smartmontools-5.40/smartctl.8.in +--- smartmontools-5.40/smartctl.8.in.manfix 2010-10-16 15:09:11.000000000 +0200 ++++ smartmontools-5.40/smartctl.8.in 2011-03-11 15:10:58.987936399 +0100 +@@ -970,7 +970,7 @@ SL directory by \'\-l directory,q\' or \ + + .I background + \- [SCSI only] the background scan results log outputs information derived +-from Background Media Scans (BMS) done after power up and/or periodocally ++from Background Media Scans (BMS) done after power up and/or periodically + (e.g. every 24 hours) on recent SCSI disks. If supported, the BMS status + is output first, indicating whether a background scan is currently + underway (and if so a progress percentage), the amount of time the disk +@@ -978,7 +978,7 @@ has been powered up and the number of sc + is a header and a line for each background scan "event". These will + typically be either recovered or unrecoverable errors. That latter group + may need some attention. There is a description of the background scan +-mechansim in section 4.18 of SBC\-3 revision 6 (see www.t10.org ). ++mechanism in section 4.18 of SBC\-3 revision 6 (see www.t10.org ). + + .I scttemp, scttempsts, scttemphist + \- [ATA only] prints the disk temperature information provided by the diff --git a/smartmontools.spec b/smartmontools.spec index 907ad3a..e1b6884 100644 --- a/smartmontools.spec +++ b/smartmontools.spec @@ -1,7 +1,7 @@ Summary: Tools for monitoring SMART capable hard disks Name: smartmontools Version: 5.40 -Release: 8%{?dist} +Release: 9%{?dist} Epoch: 1 Group: System Environment/Base License: GPLv2+ @@ -18,6 +18,8 @@ Patch1: smartmontools-5.38-defaultconf.patch #from upstream, for smartmontools <= 5.40 Patch2: smartmontools-5.40-megaraid.patch +Patch3: smartmontools-5.40-manfix.patch + BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) Requires: fileutils mailx chkconfig #new rpm does not handle this (yet?) @@ -40,6 +42,7 @@ failure. %setup -q %patch1 -p1 -b .defaultconf %patch2 -p1 -b .megaraid +%patch3 -p1 -b .manfix # fix encoding for fe in AUTHORS CHANGELOG @@ -114,6 +117,9 @@ fi %{_datadir}/%{name} %changelog +* Fri Mar 11 2011 Michal Hlavinka - 1:5.40-9 +- fix typos in man page + * Fri Mar 04 2011 Michal Hlavinka - 1:5.40-8 - don't call chkconfig add, we use systemd now