Hello community, here is the log from the commit of package smartmontools for openSUSE:Factory checked in at 2018-05-06 14:56:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/smartmontools (Old) and /work/SRC/openSUSE:Factory/.smartmontools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "smartmontools" Sun May 6 14:56:47 2018 rev:76 rq:602529 version:6.6 Changes: -------- --- /work/SRC/openSUSE:Factory/smartmontools/smartmontools.changes 2018-02-12 14:46:00.784976135 +0100 +++ /work/SRC/openSUSE:Factory/.smartmontools.new/smartmontools.changes 2018-05-06 14:56:48.827274964 +0200 @@ -1,0 +2,6 @@ +Tue Apr 17 22:33:03 CEST 2018 - sbrabec@suse.com + +- Fix SUSE default of S.M.A.R.T. checks: really enable nightly + short tests (bsc#1073918). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ smartmontools.spec ++++++ --- /var/tmp/diff_new_pack.xX6NSu/_old 2018-05-06 14:56:49.555248253 +0200 +++ /var/tmp/diff_new_pack.xX6NSu/_new 2018-05-06 14:56:49.559248107 +0200 @@ -56,7 +56,7 @@ BuildRequires: pkgconfig(systemd) %{?systemd_requires} Summary: Monitor for SMART devices -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Hardware/Other %description @@ -213,6 +213,11 @@ fi fi rm -f %{_datadir}/smartmontools/drivedb.h.branch.rpmtemp +# Before Leap 15 / SLE 15, there was a incorrect configuration of self tests (bsc#1073918). +# Perform a fix of this nonsense, even if the noreplace configuration file was edited. +if grep -q -F -- '-s S/../.././03 -s L/../(01|02|03|04|05|06|07)/7/01' %{_sysconfdir}/smartd.conf ; then + sed -i 's:-s S/\.\./\.\./\./03 -s L/\.\./(01|02|03|04|05|06|07)/7/01:-s (S/../.././03|L/../(01|02|03|04|05|06|07)/7/01):g' %{_sysconfdir}/smartd.conf +fi %preun %service_del_preun smartd.service ++++++ smartmontools-suse-default.patch ++++++ --- /var/tmp/diff_new_pack.xX6NSu/_old 2018-05-06 14:56:49.647244878 +0200 +++ /var/tmp/diff_new_pack.xX6NSu/_new 2018-05-06 14:56:49.647244878 +0200 @@ -11,7 +11,7 @@ +# (Takes several minutes.) +# -s L/: Run Extended Self Test every first Sunday in the +# month. (Start earlier, it could take tens of hours.) -+DEFAULT -d removable -s S/../.././03 -s L/../(01|02|03|04|05|06|07)/7/01 ++DEFAULT -d removable -s (S/../.././03|L/../(01|02|03|04|05|06|07)/7/01) + # The word DEVICESCAN will cause any remaining lines in this # configuration file to be ignored: it tells smartd to scan for all