use native systemd macros, rm odd dep from rpm-helper

This commit is contained in:
Mikhail Novosyolov 2020-11-25 16:21:19 +03:00
parent 72ccdc4db0
commit 286c2134e1

View file

@ -5,7 +5,7 @@
Summary: Official Linux Bluetooth protocol stack Summary: Official Linux Bluetooth protocol stack
Name: bluez Name: bluez
Version: 5.55 Version: 5.55
Release: 1 Release: 2
Epoch: 1 Epoch: 1
License: GPLv2+ License: GPLv2+
Group: Communications Group: Communications
@ -43,7 +43,6 @@ BuildRequires: pkgconfig(libusb)
BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(libusb-1.0)
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(udev) >= 186 BuildRequires: pkgconfig(udev) >= 186
Requires(pre): rpm-helper
Obsoletes: bluez-alsa < 5.0 Obsoletes: bluez-alsa < 5.0
Obsoletes: bluez-gstreamer < 5.0 Obsoletes: bluez-gstreamer < 5.0
@ -96,10 +95,10 @@ These are the official Bluetooth communication libraries for Linux.
%{_udevrulesdir}/97-bluetooth.rules %{_udevrulesdir}/97-bluetooth.rules
%post %post
%_post_service bluetooth %systemd_post bluetooth.service
%postun %postun
%_preun_service bluetooth %systemd_post bluetooth.service
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------