summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tdenetworkmanager
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/tdenetworkmanager')
-rw-r--r--redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec10
1 files changed, 9 insertions, 1 deletions
diff --git a/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec b/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec
index 02cd9c010..7feefff45 100644
--- a/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec
+++ b/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec
@@ -83,8 +83,12 @@ Provides: trinity-knetworkmanager = %{version}-%{release}
# NETWORKMANAGER support
%if 0%{?rhel} || 0%{?fedora}
%if 0%{?fedora} >= 20 || 0%{?rhel} >= 7
-BuildRequires: NetworkManager-devel
Requires: NetworkManager
+%if 0%{?fedora} >= 29
+BuildRequires: NetworkManager-libnm-devel
+%else
+BuildRequires: NetworkManager-devel
+%endif
%else
Requires: NetworkManager-gnome
%endif
@@ -94,9 +98,13 @@ Requires: networkmanager
%endif
%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
%if 0%{?pclinuxos} == 0
+%if 0%{?fedora} >= 29
+BuildRequires: NetworkManager-libnm-devel
+%else
BuildRequires: NetworkManager-glib-devel
%endif
%endif
+%endif
%if 0%{?suse_version}
BuildRequires: NetworkManager-devel
Requires: NetworkManager