This commit is contained in:
parent
97635e6c8d
commit
0cb854ea1f
11
sensors.spec
11
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)
|
||||
|
Loading…
Reference in New Issue
Block a user