- Add -libs subpackage so perl doesn't get dragged in just for linking

against libsensors.
This commit is contained in:
Adam Jackson 2009-07-10 20:48:28 +00:00
parent aa893113d9
commit c2cce2ff65

View File

@ -1,6 +1,6 @@
Name: lm_sensors
Version: 3.1.1
Release: 1%{?dist}
Release: 2%{?dist}
URL: http://www.lm-sensors.org/
Source: http://dl.lm-sensors.org/lm-sensors/releases/%{name}-%{version}.tar.bz2
Source1: lm_sensors.sysconfig
@ -26,6 +26,14 @@ The lm_sensors package includes a collection of modules for general SMBus
access and hardware monitoring.
%package libs
Summary: lm_sensors core libraries
Group: System Environment/Libraries
%description libs
Core libraries for lm_sensors applications
%package devel
Summary: Development files for programs which will use lm_sensors
Group: Development/System
@ -138,7 +146,6 @@ fi
%doc prog/init/fancontrol.init prog/init/README.initscripts
%config(noreplace) %{_sysconfdir}/sensors3.conf
%{_bindir}/*
%{_libdir}/*.so.*
%{_mandir}/man1/*
%{_mandir}/man5/*
%{_mandir}/man8/*
@ -148,6 +155,10 @@ fi
%exclude %{_sbindir}/sensord
%exclude %{_mandir}/man8/sensord.8.gz
%files libs
%defattr(-,root,root)
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/sensors
@ -164,6 +175,10 @@ fi
%changelog
* Fri Jul 10 2009 Adam Jackson <ajax@redhat.com> 3.1.1-2
- Add -libs subpackage so perl doesn't get dragged in just for linking
against libsensors.
* Tue Jul 7 2009 Nikola Pajokvsky <npajovs@redhat.com> 3.1.1-1
- New release 3.1.1