F22+: Obsoletes/Provides libnm-qt

epel9
Dan Vrátil 10 years ago
parent d428ca1604
commit 64d1a55cd8

@ -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 <dvratil@redhat.com> - 5.10.0-2
- F22+: Obsoletes/Provides libnm-qt
* Mon May 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.10.0-1
- KDE Frameworks 5.10.0

Loading…
Cancel
Save