From b8ad58f6901e7ae59ed537d4b4582c083ebafbb5 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Fri, 14 Jun 2019 11:07:47 +0200 Subject: [PATCH] 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 --- network-manager-applet.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/network-manager-applet.spec b/network-manager-applet.spec index 91801c9..5cd6d57 100644 --- a/network-manager-applet.spec +++ b/network-manager-applet.spec @@ -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