From 647e40926dd690988e78fba011778f8ee8f8925901a5d311770ebb8a68b7fea7 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Tue, 7 Jun 2016 15:11:33 +0000 Subject: [PATCH] Accepting request 400466 from home:fbui:branches:Base:System - Don't require systemd-devel but systemd-rpm-macros (bsc#983167) OBS-URL: https://build.opensuse.org/request/show/400466 OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=211 --- bluez.changes | 9 +++++++++ bluez.spec | 6 ++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/bluez.changes b/bluez.changes index bc5ba37..f9e8c30 100644 --- a/bluez.changes +++ b/bluez.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Jun 7 13:17:48 UTC 2016 - fbui@suse.com + +- Don't require systemd-devel but systemd-rpm-macros (bsc#983167) + Bluez simply needs to know where the systemd default paths are, at + build time. For that there's no need to build-require systemd or + systemd-devel (and pull all theirs dependencies). Instead + build-require systemd-rpm-macros, which has much less dependencies. + ------------------------------------------------------------------- Sat May 28 07:33:16 UTC 2016 - seife+obs@b1-systems.com diff --git a/bluez.spec b/bluez.spec index 90e2c87..3142601 100644 --- a/bluez.spec +++ b/bluez.spec @@ -21,7 +21,7 @@ Name: bluez # FIXME: Do not mangle dbus service / systemd service once we support systemd user services BuildRequires: flex BuildRequires: libcap-ng-devel -BuildRequires: systemd-devel +BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(dbus-1) >= 1.6 %{?systemd_requires} Version: 5.40 @@ -127,7 +127,9 @@ sed -i "/SystemdService=.*/d" obexd/src/org.bluez.obex.service --enable-cups \ --enable-test \ --enable-experimental \ - --enable-datafiles + --enable-datafiles \ + --with-systemdsystemunitdir=%{_unitdir} \ + --with-systemduserunitdir=%{_userunitdir} make %{?_smp_mflags} all V=1