Fix libbluedevil Obsoletes (including -devel), .spec cosmetics

epel9
Rex Dieter 10 years ago
parent b430dbec5b
commit d793ab1fa3

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

Loading…
Cancel
Save