And revert the package name changes too...
OBS-URL: https://build.opensuse.org/package/show/Base:System/sensors?expand=0&rev=102
This commit is contained in:
parent
44bd422466
commit
0a5d5b6cb6
@ -1,3 +1,3 @@
|
||||
libsensors5
|
||||
libsensors4
|
||||
obsoletes "sensors-<targettype> <= <version>"
|
||||
provides "sensors-<targettype> = <version>"
|
||||
|
18
sensors.spec
18
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
|
||||
|
Loading…
Reference in New Issue
Block a user