Mailinglist Archive: opensuse-commit (861 mails)
| < Previous | Next > |
commit smartmontools for openSUSE:Factory
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Fri, 14 Jan 2011 15:32:37 +0100
- Message-id: <20110114143237.7AC8520299@hilbert.suse.de>
Hello community,
here is the log from the commit of package smartmontools for openSUSE:Factory
checked in at Fri Jan 14 15:32:37 CET 2011.
--------
--- smartmontools/smartmontools.changes 2010-12-07 22:39:45.000000000 +0100
+++ smartmontools/smartmontools.changes 2011-01-14 14:02:40.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Jan 13 16:03:00 CET 2011 - sbrabec@xxxxxxx
+
+- Removed support for SLE9 and older.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
README.SATA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ smartmontools.spec ++++++
--- /var/tmp/diff_new_pack.zwdJXs/_old 2011-01-14 15:32:25.000000000 +0100
+++ /var/tmp/diff_new_pack.zwdJXs/_new 2011-01-14 15:32:25.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package smartmontools (Version 5.40)
+# spec file for package smartmontools
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,9 +22,8 @@
License: GPLv2+
Group: Hardware/Other
Version: 5.40
-Release: 2
+Release: 3
Source: %{name}-%{version}.tar.bz2
-Source1: README.SATA
Source2: smartmontools.sysconfig
Source3: %{name}-rpmlintrc
Patch: smartmontools-powersave-notify.patch
@@ -70,19 +69,14 @@
specific" and "reserved" information as possible about disk drives. The
commands man smartctl and man smartd will provide more information.
-
-
Authors:
--------
Bruce Allen <smartmontools-support@xxxxxxxxxxxxxxxxxxxxx>
%prep
%setup -q
-cp -a %{S:1} .
cp -a %{S:2} .
-%if %suse_version >= 1010
%patch1
-%endif
%patch2
%patch4
%if %suse_version <= 1100
@@ -122,9 +116,6 @@
%endif
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
cp smartmontools.sysconfig
$RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.smartmontools
-%if %suse_version < 1010
-cp README.SATA $RPM_BUILD_ROOT%{_datadir}/doc/packages/%{name}/
-%endif
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/smartmontools
#remove installed files we don't want to package
rm -r $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/
@@ -138,13 +129,6 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%pre
-# Older SuSE versions (<=10.2) don't do restart on update. Test it and set
flag.
-# This file exists since smartmontools-5.37:
-if ! test -f usr/share/doc/packages/smartmontools/examplescripts/Example4 ;
then
- touch var/adm/smartd_needs_restart
-fi
-
%post
# Migrate %{_sysconfdir}/default/smartmontools to sysconfig
(<=11.0,>=10.2,upstream)
#BEGIN smartd_opts_migrate
@@ -228,19 +212,8 @@
rm %{_sysconfdir}/default/smartmontools
fi
#END smartd_opts_migrate
-%if %suse_version < 1010
-# With some broken drivers in older kernels, smartd can hang the system.
-# Don't start it by default.
-%{fillup_and_insserv smartd}
-%else
# Turn smartd on by default.
%{fillup_and_insserv -y smartd}
-%endif
-# Older SuSE versions (<=10.2) don't do restart on update. Do it now.
-if test -f var/adm/smartd_needs_restart ; then
-rm var/adm/smartd_needs_restart
-%{restart_on_update smartd}
-fi
%preun
%{stop_on_removal smartd}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |