Add explicit Requires on lm_sensors-libs
Subpackages lm_sensors-sensord and lm_sensors consume the library libsensors from subpackage lm_sensors-libs, so they should have explicit Requires on the subpackage to avoid the need to test interoperability between the various combinations of old and new subpackages.
This commit is contained in:
parent
c2fae1a1f8
commit
48e034852d
@ -1,6 +1,6 @@
|
||||
Name: lm_sensors
|
||||
Version: 3.5.0
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: Hardware monitoring tools
|
||||
|
||||
%define upstream_version %(echo %{version} | sed -e 's/\\./-/g')
|
||||
@ -33,6 +33,7 @@ Requires: /usr/sbin/modprobe
|
||||
%ifarch %{ix86} x86_64
|
||||
Requires: /usr/sbin/dmidecode
|
||||
%endif
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
Requires(post): systemd-units
|
||||
BuildRequires: kernel-headers >= 2.2.16, bison, flex, gawk
|
||||
BuildRequires: perl-generators
|
||||
@ -67,6 +68,7 @@ when building applications that make use of sensor data.
|
||||
%package sensord
|
||||
Summary: Daemon that periodically logs sensor readings
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
# One man page is licensed Verbatim (prog/sensord/sensord.8). Files from
|
||||
# dist-git are licensed MIT according to the FPCA. The rest is GPLv2+.
|
||||
License: GPLv2+ and Verbatim and MIT
|
||||
@ -200,6 +202,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon May 06 2019 Ondřej Lysoněk <olysonek@redhat.com> - 3.5.0-4
|
||||
- Added explicit Requires on lm_sensors-libs
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user