diff --git a/kf5-bluez-qt.spec b/kf5-bluez-qt.spec index 2a44ddb..db84460 100644 --- a/kf5-bluez-qt.spec +++ b/kf5-bluez-qt.spec @@ -4,7 +4,7 @@ Name: kf5-%{framework} Summary: A Qt wrapper for Bluez Version: 5.2.95 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPLv2+ URL: https://projects.kde.org/projects/kde/workspace/bluez-qt @@ -30,14 +30,15 @@ BuildRequires: systemd Requires: kf5-filesystem Requires: bluez >= 5 -# 5.2 was the last release of libbluedevil -Obsoletes: libbluedevil <= 5.2 +## libbluedevil 5.2.2 was the last release +Obsoletes: libbluedevil < 5.2.90 %description BluezQt is Qt-based library written handle all Bluetooth functionality. %package devel Summary: Development files for %{name} +Obsoletes: libbluedevil-devel < 5.2.90 Requires: %{name}%{?_isa} = %{version}-%{release} Requires: qt5-qtbase-devel %description devel @@ -49,7 +50,7 @@ Development files for %{name}. %build -mkdir -p %{_target_platform} +mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. popd @@ -63,6 +64,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} # Install udev rules install -D %{SOURCE1} %{buildroot}/%{_udevrulesdir}/61-kde-bluetooth-rfkill.rules + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -80,6 +82,9 @@ install -D %{SOURCE1} %{buildroot}/%{_udevrulesdir}/61-kde-bluetooth-rfkill.rule %{_qt5_archdatadir}/mkspecs/modules/qt_BluezQt.pri %changelog +* Sat Apr 25 2015 Rex Dieter 5.2.95-3 +- Fix libbluedevil Obsoletes (including -devel), .spec cosmetics + * Wed Apr 22 2015 Daniel Vrátil - 5.2.95-2 - install %%doc - Obsoletes: libbluedevil