diff --git a/kf5-networkmanager-qt.spec b/kf5-networkmanager-qt.spec index 47525c5..b713346 100644 --- a/kf5-networkmanager-qt.spec +++ b/kf5-networkmanager-qt.spec @@ -2,7 +2,7 @@ Name: kf5-%{framework} Version: 5.7.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Tier 1 KDE Frameworks 5 module that wraps NetworkManager DBus API Group: System Environment/Libraries @@ -23,7 +23,11 @@ BuildRequires: extra-cmake-modules BuildRequires: qt5-qtbase-devel BuildRequires: pkgconfig(NetworkManager) >= 0.9.8 +%if 0%{?fedora} > 21 +BuildRequires: pkgconfig(libnm) +%else BuildRequires: pkgconfig(libnm-glib) pkgconfig(libnm-util) +%endif Requires: NetworkManager >= 0.9.9.0 Requires: kf5-filesystem @@ -71,6 +75,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %{_kf5_archdatadir}/mkspecs/modules/qt_NetworkManagerQt.pri %changelog +* Wed Feb 18 2015 Daniel Vrátil - 5.7.0-2 +- Fix BR on Fedora > 21 (with NM 1.0) + * Mon Feb 16 2015 Daniel Vrátil - 5.7.0-1 - KDE Frameworks 5.7.0