summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-06-02 09:18:34 +0200
committerThomas Haller <thaller@redhat.com>2016-06-02 09:44:37 +0200
commit5dea2efd9e27e6b23e37feaf39d8728a01793134 (patch)
tree4861a6267bad1096e346a1f24603c5591c6c9780
parentd91f3b35d75f5d5cf3fa24167b7a1fd70c2233f0 (diff)
downloadNetworkManager-5dea2efd9e27e6b23e37feaf39d8728a01793134.tar.gz
contrib/rpm: add Requires to exact wwan version for NetworkManager-bluetooth subpackage
rpmdiff complains: Subpackage NetworkManager-bluetooth on aarch64 x86_64 ppc64 ppc64le s390x consumes library libnm-wwan.so()(64bit) from subpackage NetworkManager-wwan but does not have explicit package version requirement. Please add Requires: NetworkManager-wwan = %{version}-%{release} to NetworkManager-bluetooth in the specfile to avoid the need to test interoperability between the various combinations of old and new subpackages. And indeed, device plugins don't have a stable API/ABI, and requires exact NetworkManager and wwan versions. This was already enforced implicitly, because all device plugins require the same exact NetworkManager version.
-rw-r--r--contrib/fedora/rpm/NetworkManager.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec
index 8a25690efe..73cf3704fc 100644
--- a/contrib/fedora/rpm/NetworkManager.spec
+++ b/contrib/fedora/rpm/NetworkManager.spec
@@ -205,7 +205,7 @@ This package contains NetworkManager support for ADSL devices.
Summary: Bluetooth device plugin for NetworkManager
Group: System Environment/Base
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
-Requires: NetworkManager-wwan
+Requires: NetworkManager-wwan = %{epoch}:%{version}-%{release}
Requires: bluez >= 4.101-5
Obsoletes: NetworkManager < %{obsoletes_nmver}
Obsoletes: NetworkManager-bt