- Only require dmidecode on supported archs (#232264)

This commit is contained in:
Phil Knirsch 2007-03-15 14:35:31 +00:00
parent dd999d0f95
commit 6d4478ebdb

View File

@ -1,6 +1,6 @@
Name: lm_sensors
Version: 2.10.2
Release: 1%{?dist}
Release: 2%{?dist}
URL: http://secure.netroedge.com/~lm78/
Source: http://secure.netroedge.com/~lm78/archive/lm_sensors-%{version}.tar.gz
Source1: lm_sensors.sysconfig
@ -17,7 +17,9 @@ Summary: Hardware monitoring tools.
Group: Applications/System
License: GPL
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%ifarch %{ix86} x86_64
Requires: /usr/sbin/dmidecode
%endif
Requires(preun): chkconfig
Requires(post): chkconfig
BuildRequires: kernel-headers >= 2.2.16, bison, libsysfs-devel, flex
@ -107,6 +109,9 @@ fi
%{_libdir}/lib*.so
%changelog
* Thu Mar 15 2007 Phil Knirsch <pknirsch@redhat.com> - 2.10.2-2
- Only require dmidecode on supported archs (#232264)
* Tue Feb 06 2007 Florian La Roche <laroche@redhat.com> - 2.10.2-1
- Update to lm_sensors-2.10.2