diff --git a/sensors.spec b/sensors.spec index 9bc7002..5ae6416 100644 --- a/sensors.spec +++ b/sensors.spec @@ -22,7 +22,7 @@ Name: sensors BuildRequires: bison flex rrdtool-devel Url: http://www.lm-sensors.org/ Version: 3.0.3 -Release: 1 +Release: 2 Summary: Hardware health monitoring for Linux License: GPL v2 or later Group: System/Monitoring @@ -156,14 +156,15 @@ RPM_OPT_FLAGS="$RPM_OPT_FLAGS" # cleanup rm -f $RPM_BUILD_ROOT/usr/src/linux/include/sensors.h +%clean +rm -rf $RPM_BUILD_ROOT + %postun %{insserv_cleanup} -%post -n libsensors4 -%run_ldconfig +%post -n libsensors4 -p /sbin/ldconfig -%postun -n libsensors4 -%run_ldconfig +%postun -n libsensors4 -p /sbin/ldconfig %files %defattr(-,root,root)