]> git.pld-linux.org Git - packages/lm_sensors.git/blobdiff - lm_sensors.spec
- removed dmidecode (old)
[packages/lm_sensors.git] / lm_sensors.spec
index cb43380a8a74543acb71a8d222f27c311b5771b0..c08c9010084beaf3a22dc1fd27fdfc500ca44cd9 100644 (file)
@@ -12,7 +12,7 @@ Summary(ru):  
 Summary(uk):   õÔÉ̦ÔÉ ÄÌÑ ÍÏΦÔÏÒÉÎÇÕ ÁÐÁÒÁÔÕÒÉ
 Name:          lm_sensors
 Version:       2.8.0
-%define _rel   1
+%define _rel   1.1
 Release:       %{_rel}
 License:       GPL
 Group:         Applications/System
@@ -31,11 +31,10 @@ BuildRequires:      rpmbuild(macros) >= 1.118
 BuildRequires: rrdtool-devel
 %{!?_without_dist_kernel:BuildRequires:        i2c-devel >= 2.8.0}
 %{!?_without_dist_kernel:BuildRequires:        kernel-headers >= 2.4.0}
+Requires:      dmidecode
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     liblm_sensors1
 
-%define                _kernel24       %(echo %{_kernel_ver} | grep -q '2\.[012]\.' ; echo $?)
-
 %description
 Tools for monitoring the hardware health of Linux systems containing
 hardware health monitoring hardware such as the LM78 and LM75.
@@ -289,9 +288,6 @@ fi
 %doc prog/{config,daemon,eeprom,eepromer/README*,matorb,maxilife,xeon}
 %attr(755,root,root) %{_bindir}/sensors
 %attr(755,root,root) %{_sbindir}/sensors-detect
-%if %{_kernel24}
-%attr(755,root,root) %{_sbindir}/dmidecode
-%endif
 %attr(755,root,root) %{_sbindir}/eeprom*
 %attr(755,root,root) %{_sbindir}/i2c*
 %attr(755,root,root) %{_sbindir}/isadump
This page took 0.029561 seconds and 4 git commands to generate.