Hello community, here is the log from the commit of package smartmontools checked in at Tue Sep 2 18:22:20 CEST 2008. -------- --- smartmontools/smartmontools.changes 2008-08-18 17:26:53.000000000 +0200 +++ /mounts/work_src_done/STABLE/smartmontools/smartmontools.changes 2008-09-02 15:08:08.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Sep 2 14:44:40 CEST 2008 - sbrabec@suse.cz + +- Desktop neutral powersave-notify is no longer available. + Use "wall" to report expected disc failures. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ smartmontools.spec ++++++ --- /var/tmp/diff_new_pack.l19351/_old 2008-09-02 18:22:12.000000000 +0200 +++ /var/tmp/diff_new_pack.l19351/_new 2008-09-02 18:22:12.000000000 +0200 @@ -22,7 +22,7 @@ License: GPL v2 or later Group: Hardware/Other Version: 5.38.0.20080818 -Release: 1 +Release: 7 #Source: %{name}-%{version}.tar.bz2 Source: sm5-20080818.tar.bz2 Source1: README.SATA @@ -32,8 +32,10 @@ Patch4: smartmontools-removable.patch PreReq: %insserv_prereq %fillup_prereq coreutils %if %suse_version > 1000 +%if %suse_version <= 1100 Requires: powersave %endif +%endif %if %suse_version > 1020 Requires: licenses BuildRequires: licenses @@ -69,14 +71,17 @@ %prep %setup -q -n sm5 cp -a %{S:1} . -%if %suse_version > 1000 -%patch -%endif %if %suse_version >= 1010 %patch1 %endif %patch2 %patch4 +%if %suse_version > 1000 +%if %suse_version <= 1100 +# Powersave notification was available only in 10.0-11.0 and SLE10. +%patch +%endif +%endif %build ./autogen.sh @@ -99,10 +104,12 @@ chmod +x $RPM_BUILD_ROOT%{_sysconfdir}/init.d/smartd ln -s ../..%{_sysconfdir}/init.d/smartd $RPM_BUILD_ROOT%{_sbindir}/rcsmartd %if %suse_version > 1000 +%if %suse_version <= 1100 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/smartmontools cp examplescripts/Example4 $RPM_BUILD_ROOT%{_prefix}/lib/smartmontools/smart-notify chmod +x $RPM_BUILD_ROOT%{_prefix}/lib/smartmontools/smart-notify %endif +%endif mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/default echo '#smartd_opts=""' >$RPM_BUILD_ROOT%{_sysconfdir}/default/smartmontools %if %suse_version < 1010 @@ -151,14 +158,19 @@ %doc %{_docdir}/%{name} %doc %{_mandir}/man*/* %if %suse_version > 1000 +%if %suse_version <= 1100 %{_prefix}/lib/smartmontools %endif +%endif %{_sbindir}/* %config(noreplace) %{_sysconfdir}/default/* %{_sysconfdir}/init.d/* %config(noreplace) %{_sysconfdir}/*.conf %changelog +* Tue Sep 02 2008 sbrabec@suse.cz +- Desktop neutral powersave-notify is no longer available. + Use "wall" to report expected disc failures. * Mon Aug 18 2008 sbrabec@suse.cz - Updated to the latest CVS snapshot: * Areca device support. ++++++ smartmontools-powersave-notify.patch ++++++ --- /var/tmp/diff_new_pack.l19351/_old 2008-09-02 18:22:12.000000000 +0200 +++ /var/tmp/diff_new_pack.l19351/_new 2008-09-02 18:22:12.000000000 +0200 @@ -1,15 +1,15 @@ --- smartd.conf +++ smartd.conf -@@ -20,7 +20,11 @@ - # Directives listed below, which will be applied to all devices that - # are found. Most users should comment out DEVICESCAN and explicitly - # list the devices that they wish to monitor. --DEVICESCAN -+#DEVICESCAN +@@ -23,7 +23,11 @@ + # Adding -d removable prevents error messages after disconnecting of + # monitored removable discs. + #DEVICESCAN -d removable +-DEVICESCAN -d removable ++#DEVICESCAN -d removable + +# Use "-m root@localhost -M exec /usr/lib/smartmontools/smart-notify" to +# enable desktop notification over powersave-notify. -+DEVICESCAN -m root@localhost -M exec /usr/lib/smartmontools/smart-notify ++DEVICESCAN -d removable -m root@localhost -M exec /usr/lib/smartmontools/smart-notify # Alternative setting to ignore temperature and power-on hours reports # in syslog. ++++++ smartmontools-removable.patch ++++++ --- /var/tmp/diff_new_pack.l19351/_old 2008-09-02 18:22:12.000000000 +0200 +++ /var/tmp/diff_new_pack.l19351/_new 2008-09-02 18:22:12.000000000 +0200 @@ -1,18 +1,14 @@ --- smartd.conf +++ smartd.conf -@@ -20,22 +20,24 @@ +@@ -20,18 +20,21 @@ # Directives listed below, which will be applied to all devices that # are found. Most users should comment out DEVICESCAN and explicitly # list the devices that they wish to monitor. --#DEVICESCAN +-DEVICESCAN +# Adding -d removable prevents error messages after disconnecting of +# monitored removable discs. +#DEVICESCAN -d removable - - # Use "-m root@localhost -M exec /usr/lib/smartmontools/smart-notify" to - # enable desktop notification over powersave-notify. --DEVICESCAN -m root@localhost -M exec /usr/lib/smartmontools/smart-notify -+DEVICESCAN -d removable -m root@localhost -M exec /usr/lib/smartmontools/smart-notify ++DEVICESCAN -d removable # Alternative setting to ignore temperature and power-on hours reports # in syslog. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org