From c2cce2ff65f349da7612bc6805958df9ecc56e0a Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 10 Jul 2009 20:48:28 +0000 Subject: [PATCH] - Add -libs subpackage so perl doesn't get dragged in just for linking against libsensors. --- lm_sensors.spec | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/lm_sensors.spec b/lm_sensors.spec index 9c92802..928144d 100644 --- a/lm_sensors.spec +++ b/lm_sensors.spec @@ -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 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 3.1.1-1 - New release 3.1.1