From 286c2134e1f9586302a06b2aa955d5d56697cc10 Mon Sep 17 00:00:00 2001 From: Mikhail Novosyolov Date: Wed, 25 Nov 2020 16:21:19 +0300 Subject: [PATCH] use native systemd macros, rm odd dep from rpm-helper --- bluez.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bluez.spec b/bluez.spec index a4c6e19..0008a28 100644 --- a/bluez.spec +++ b/bluez.spec @@ -5,7 +5,7 @@ Summary: Official Linux Bluetooth protocol stack Name: bluez Version: 5.55 -Release: 1 +Release: 2 Epoch: 1 License: GPLv2+ Group: Communications @@ -43,7 +43,6 @@ BuildRequires: pkgconfig(libusb) BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(udev) >= 186 -Requires(pre): rpm-helper Obsoletes: bluez-alsa < 5.0 Obsoletes: bluez-gstreamer < 5.0 @@ -96,10 +95,10 @@ These are the official Bluetooth communication libraries for Linux. %{_udevrulesdir}/97-bluetooth.rules %post -%_post_service bluetooth +%systemd_post bluetooth.service %postun -%_preun_service bluetooth +%systemd_post bluetooth.service #----------------------------------------------------------------------------