diff --git a/baselibs.conf b/baselibs.conf index af39338..6842a47 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,3 +1,3 @@ -libsensors5 +libsensors4 obsoletes "sensors- <= " provides "sensors- = " diff --git a/sensors.spec b/sensors.spec index 6cdb607..4e908f5 100644 --- a/sensors.spec +++ b/sensors.spec @@ -76,28 +76,28 @@ round-robin database (RRD) and to alert when a sensor alarm is signalled; for example, if a fan fails, a temperature limit is exceeded, etc. -%package -n libsensors5 +%package -n libsensors4 Summary: Hardware health monitoring library License: LGPL-2.1-or-later Group: System/Libraries -%description -n libsensors5 +%description -n libsensors4 libsensors offers a way for applications to access the hardware monitoring chips of the system. A system-dependent configuration file controls how the different inputs are labeled and what scaling factors have to be applied for the specific hardware, so that the output makes sense to the user. -%package -n libsensors5-devel +%package -n libsensors4-devel Summary: Hardware health monitoring library License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ Requires: glibc-devel -Requires: libsensors5 = %{version} +Requires: libsensors4 = %{version} Conflicts: libsensors4-devel Provides: sensors:%{_includedir}/sensors/sensors.h -%description -n libsensors5-devel +%description -n libsensors4-devel libsensors offers a way for applications to access the hardware monitoring chips of the system. A system-dependent configuration file controls how the different inputs are labeled and what scaling factors @@ -182,9 +182,9 @@ fi %postun -n sensord %service_del_postun sensord.service -%post -n libsensors5 -p /sbin/ldconfig +%post -n libsensors4 -p /sbin/ldconfig -%postun -n libsensors5 -p /sbin/ldconfig +%postun -n libsensors4 -p /sbin/ldconfig %files %defattr(-,root,root) @@ -226,7 +226,7 @@ fi %license %{_docdir}/sensord/COPYING %{_mandir}/man8/sensord.8%{?ext_man} -%files -n libsensors5 +%files -n libsensors4 %defattr(-,root,root) %config %{_sysconfdir}/sensors3.conf %config %{_sysconfdir}/sensors.d/ @@ -235,7 +235,7 @@ fi %license %{_docdir}/sensors/COPYING.LGPL %{_mandir}/man5/*.5%{?ext_man} -%files -n libsensors5-devel +%files -n libsensors4-devel %defattr(-,root,root) %{_includedir}/sensors/ %{_libdir}/libsensors.so