From 64d1a55cd8b828d4369f38a4aa4c92571e1dd688 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Vr=C3=A1til?= Date: Mon, 11 May 2015 15:00:24 +0200 Subject: [PATCH] F22+: Obsoletes/Provides libnm-qt --- kf5-networkmanager-qt.spec | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/kf5-networkmanager-qt.spec b/kf5-networkmanager-qt.spec index e541c18..4718d47 100644 --- a/kf5-networkmanager-qt.spec +++ b/kf5-networkmanager-qt.spec @@ -2,7 +2,7 @@ Name: kf5-%{framework} Version: 5.10.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A Tier 1 KDE Frameworks 5 module that wraps NetworkManager DBus API Group: System Environment/Libraries @@ -32,6 +32,12 @@ BuildRequires: pkgconfig(libnm-glib) pkgconfig(libnm-util) Requires: NetworkManager >= 0.9.9.0 Requires: kf5-filesystem +# libmm-qt has been retired in F22 +%if 0%{fedora} >= 22 +Obsoletes: libnm-qt < 5.10.0 +Provides: libnm-qt%{?_isa} = %{version}-%{release} +%endif + %description A Tier 1 KDE Frameworks 5 Qt library for NetworkManager. @@ -45,6 +51,10 @@ Requires: pkgconfig(libnm) %else Requires: pkgconfig(libnm-glib) pkgconfig(libnm-util) %endif +%if 0%{?fedora} >= 22 +Obsoletes: libnm-qt-devel < 5.10.0-1 +Provides: libnm-qt-devel%{?_isa} = %{version}-%{release} +%endif %description devel Qt libraries and header files for developing applications @@ -80,6 +90,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %{_kf5_archdatadir}/mkspecs/modules/qt_NetworkManagerQt.pri %changelog +* Mon May 11 2015 Daniel Vrátil - 5.10.0-2 +- F22+: Obsoletes/Provides libnm-qt + * Mon May 11 2015 Daniel Vrátil - 5.10.0-1 - KDE Frameworks 5.10.0