From 590a4ee177586b3129518064c0f27b7d0e89247248f8d00798a05485b799cf53 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Tue, 11 Feb 2020 20:53:55 +0000 Subject: [PATCH] Accepting request 772642 from home:namtrac:branches:Base:System - Fix path to systemctl in %post script OBS-URL: https://build.opensuse.org/request/show/772642 OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=287 --- bluez.changes | 5 +++++ bluez.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/bluez.changes b/bluez.changes index 8351d09..8c3488e 100644 --- a/bluez.changes +++ b/bluez.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Feb 10 10:05:33 UTC 2020 - Ismail Dönmez + +- Fix path to systemctl in %post script + ------------------------------------------------------------------- Mon Dec 16 14:27:14 UTC 2019 - Stefan Seyfried diff --git a/bluez.spec b/bluez.spec index 4a70155..62f7691 100644 --- a/bluez.spec +++ b/bluez.spec @@ -1,7 +1,7 @@ # # spec file for package bluez # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2010-2019 B1 Systems GmbH, Vohburg, Germany # # All modifications and additions to the file contributed by third parties @@ -312,8 +312,8 @@ make check V=0 %{fillup_only -n bluetooth} # We need the bluez systemd service enabled at any time. It won't start up # on its own, as it is triggered by udev in the end (bnc#796671) -/bin/systemctl enable bluetooth.service 2>&1 || : -/bin/systemctl daemon-reload >/dev/null 2>&1 || : +/usr/bin/systemctl enable bluetooth.service 2>&1 || : +/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : %preun %service_del_preun bluetooth.service bluetooth-mesh.service