]> git.pld-linux.org Git - packages/lm_sensors.git/blobdiff - lm_sensors.spec
- kill macro redefinition, rel. 15
[packages/lm_sensors.git] / lm_sensors.spec
index 79bf420805f8ca0d9db19c5bbb9c0a533a2cb340..6d789adc17ae602c76c41bf5d60f8aab8d68f743 100644 (file)
@@ -9,12 +9,13 @@ Summary(pt_BR):       Ferramentas para monitora
 Summary(ru):   õÔÉÌÉÔÙ ÄÌÑ ÍÏÎÉÔÏÒÉÎÇÁ ÁÐÐÁÒÁÔÕÒÙ
 Summary(uk):   õÔÉ̦ÔÉ ÄÌÑ ÍÏΦÔÏÒÉÎÇÕ ÁÐÁÒÁÔÕÒÉ
 Name:          lm_sensors
-Version:       2.6.5
-%define _rel   1
+Version:       2.6.4
+%define        _rel    15
 Release:       %{_rel}
 License:       GPL
 Group:         Applications/System
 Source0:       http://secure.netroedge.com/~lm78/archive/%{name}-%{version}.tar.gz
+# Source0-md5: 87bffc3f808e08bb8824576a9407618a
 Source1:       sensors.init
 Source2:       sensors.sysconfig
 Patch0:                %{name}-make.patch
@@ -31,6 +32,8 @@ PreReq:               /sbin/ldconfig
 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.
@@ -57,7 +60,7 @@ SMBus 
 %package sensord
 Summary:       Sensord daemon
 Summary(pl):   Demon sensord
-Group:         Daemon
+Group:         Daemons
 Requires:      %{name} = %{version}
 
 %description sensord
@@ -256,7 +259,9 @@ 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.05766 seconds and 4 git commands to generate.