From 67d4fb71456a0b923bac6d3d6b6826318b5e1418 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Vr=C3=A1til?= Date: Thu, 23 Apr 2015 15:30:40 +0200 Subject: [PATCH] Fix build in EPEL7 --- kf5-networkmanager-qt.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kf5-networkmanager-qt.spec b/kf5-networkmanager-qt.spec index accb37c..ac03893 100644 --- a/kf5-networkmanager-qt.spec +++ b/kf5-networkmanager-qt.spec @@ -23,7 +23,7 @@ BuildRequires: extra-cmake-modules BuildRequires: qt5-qtbase-devel BuildRequires: pkgconfig(NetworkManager) >= 0.9.8 -%if 0%{?fedora} > 21 +%if 0%{?fedora} >= 22 || 0%{?rhel} >= 7 BuildRequires: pkgconfig(libnm) %else BuildRequires: pkgconfig(libnm-glib) pkgconfig(libnm-util) @@ -40,7 +40,7 @@ Summary: Development files for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: qt5-qtbase-devel -%if 0%{?fedora} > 21 +%if 0%{?fedora} >= 22 || 0%{?rhel} >= 7 Requires: pkgconfig(libnm) %else Requires: pkgconfig(libnm-glib) pkgconfig(libnm-util)