Add dependencies to same version of libnma

nm-applet and nm-connection-editor RPMs already depend on libnma
symbols. Make the dependency stricter by specifying the exact version
of the library. This makes it to easier to debug problems reported by
users as we don't have to test different combinations of
binaries/libraries.

Also add the %{?_isa} suffix to dependencies.

https://bugzilla.redhat.com/show_bug.cgi?id=1679251
This commit is contained in:
Beniamino Galvani 2019-06-14 11:07:47 +02:00
parent 53b77c756d
commit b8ad58f690

View File

@ -28,7 +28,8 @@ Patch1: 0001-nm-applet-no-notifications.patch
Requires: NetworkManager >= %{nm_version}
Requires: libnotify >= 0.4.3
Requires: nm-connection-editor = %{version}-%{release}
Requires: nm-connection-editor%{?_isa} = %{version}-%{release}
Requires: libnma%{?_isa} = %{version}-%{release}
%if %{with libnm_gtk}
BuildRequires: NetworkManager-devel >= %{nm_version}
@ -61,6 +62,7 @@ for use with NetworkManager.
%package -n nm-connection-editor
Summary: A network connection configuration editor for NetworkManager
Requires: libnma%{?_isa} = %{version}-%{release}
%description -n nm-connection-editor
This package contains a network configuration editor and Bluetooth modem