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:
Jean Delvare 2018-12-16 12:42:41 +00:00 committed by Git OBS Bridge
parent 44bd422466
commit 0a5d5b6cb6
2 changed files with 10 additions and 10 deletions

View File

@ -1,3 +1,3 @@
libsensors5 libsensors4
obsoletes "sensors-<targettype> <= <version>" obsoletes "sensors-<targettype> <= <version>"
provides "sensors-<targettype> = <version>" provides "sensors-<targettype> = <version>"

View File

@ -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 signalled; for example, if a fan fails, a temperature limit is
exceeded, etc. exceeded, etc.
%package -n libsensors5 %package -n libsensors4
Summary: Hardware health monitoring library Summary: Hardware health monitoring library
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
Group: System/Libraries Group: System/Libraries
%description -n libsensors5 %description -n libsensors4
libsensors offers a way for applications to access the hardware libsensors offers a way for applications to access the hardware
monitoring chips of the system. A system-dependent configuration file monitoring chips of the system. A system-dependent configuration file
controls how the different inputs are labeled and what scaling factors controls how the different inputs are labeled and what scaling factors
have to be applied for the specific hardware, so that the output makes have to be applied for the specific hardware, so that the output makes
sense to the user. sense to the user.
%package -n libsensors5-devel %package -n libsensors4-devel
Summary: Hardware health monitoring library Summary: Hardware health monitoring library
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: glibc-devel Requires: glibc-devel
Requires: libsensors5 = %{version} Requires: libsensors4 = %{version}
Conflicts: libsensors4-devel Conflicts: libsensors4-devel
Provides: sensors:%{_includedir}/sensors/sensors.h Provides: sensors:%{_includedir}/sensors/sensors.h
%description -n libsensors5-devel %description -n libsensors4-devel
libsensors offers a way for applications to access the hardware libsensors offers a way for applications to access the hardware
monitoring chips of the system. A system-dependent configuration file monitoring chips of the system. A system-dependent configuration file
controls how the different inputs are labeled and what scaling factors controls how the different inputs are labeled and what scaling factors
@ -182,9 +182,9 @@ fi
%postun -n sensord %postun -n sensord
%service_del_postun sensord.service %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 %files
%defattr(-,root,root) %defattr(-,root,root)
@ -226,7 +226,7 @@ fi
%license %{_docdir}/sensord/COPYING %license %{_docdir}/sensord/COPYING
%{_mandir}/man8/sensord.8%{?ext_man} %{_mandir}/man8/sensord.8%{?ext_man}
%files -n libsensors5 %files -n libsensors4
%defattr(-,root,root) %defattr(-,root,root)
%config %{_sysconfdir}/sensors3.conf %config %{_sysconfdir}/sensors3.conf
%config %{_sysconfdir}/sensors.d/ %config %{_sysconfdir}/sensors.d/
@ -235,7 +235,7 @@ fi
%license %{_docdir}/sensors/COPYING.LGPL %license %{_docdir}/sensors/COPYING.LGPL
%{_mandir}/man5/*.5%{?ext_man} %{_mandir}/man5/*.5%{?ext_man}
%files -n libsensors5-devel %files -n libsensors4-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/sensors/ %{_includedir}/sensors/
%{_libdir}/libsensors.so %{_libdir}/libsensors.so