Accepting request 556389 from home:seife:testing

document systemd dependency during %post

OBS-URL: https://build.opensuse.org/request/show/556389
OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=238
This commit is contained in:
Stefan Seyfried 2017-12-12 08:24:25 +00:00 committed by Git OBS Bridge
parent 71a4de34de
commit 1cd5bc1f78
2 changed files with 5 additions and 6 deletions

View File

@ -1,8 +1,8 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 11 21:54:32 UTC 2017 - seife+obs@b1-systems.com Tue Dec 12 08:23:07 UTC 2017 - seife+obs@b1-systems.com
- add 0001-obexd-use-AM_LDFLAGS-for-linking.patch - add 0001-obexd-use-AM_LDFLAGS-for-linking.patch
- avoid systemd dependency during %post - document systemd dependency during %post
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Sep 17 22:34:07 UTC 2017 - seife+obs@b1-systems.com Sun Sep 17 22:34:07 UTC 2017 - seife+obs@b1-systems.com

View File

@ -53,7 +53,7 @@ BuildRequires: pkgconfig(libical)
BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(sndfile) BuildRequires: pkgconfig(sndfile)
BuildRequires: pkgconfig(udev) BuildRequires: pkgconfig(udev)
Requires(post): coreutils Requires(post): systemd
Recommends: sbc Recommends: sbc
Provides: bluez-utils = 3.36 Provides: bluez-utils = 3.36
Obsoletes: bluez-utils <= 3.36 Obsoletes: bluez-utils <= 3.36
@ -211,9 +211,8 @@ make check V=0
%{fillup_only -n bluetooth} %{fillup_only -n bluetooth}
# We need the bluez systemd service enabled at any time. It won't start up # We need the bluez systemd service enabled at any time. It won't start up
# on it's own, as it is triggered by udev in the end (bnc#796671) # on it's own, as it is triggered by udev in the end (bnc#796671)
install -d /etc/systemd/system/bluetooth.target.wants /bin/systemctl enable bluetooth.service 2>&1 || :
ln -sf /usr/lib/systemd/system/bluetooth.service /etc/systemd/system/bluetooth.target.wants/bluetooth.service /bin/systemctl daemon-reload >/dev/null 2>&1 || :
ln -sf /usr/lib/systemd/system/bluetooth.service /etc/systemd/system/dbus-org.bluez.service
%preun %preun
%service_del_preun bluetooth.service %service_del_preun bluetooth.service