From f4ada94b607bbc3638c764bffae10cdd1d8cd4af Mon Sep 17 00:00:00 2001 From: Alexey Shabalin Date: Fri, 14 Jan 2011 18:23:31 +0300 Subject: [PATCH] add systemd support --- dbus.spec | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/dbus.spec b/dbus.spec index d8bef9b..5aae4c2 100644 --- a/dbus.spec +++ b/dbus.spec @@ -4,10 +4,11 @@ %define system_socket_dir %_var/run/dbus %define session_socket_dir %system_socket_dir/users %define system_socket %system_socket_dir/system_bus_socket +%define systemdsystemunitdir /lib/systemd/system Name: dbus Version: 1.4.1 -Release: alt1 +Release: alt1.1 Summary: D-BUS is a simple IPC framework based on messages. License: AFL/GPL @@ -97,6 +98,7 @@ mkdir -p m4 --with-system-pid-file=%_var/run/messagebus.pid \ --with-system-socket=%system_socket \ --with-session-socket-dir=%session_socket_dir \ + --with-systemdsystemunitdir=%systemdsystemunitdir \ --localstatedir=%_var \ --disable-static @@ -136,6 +138,7 @@ touch %buildroot%_localstatedir/dbus/machine-id %dir %_sysconfdir/dbus-1/system.d %dir %_sysconfdir/dbus-1/session.d %_initdir/messagebus +%systemdsystemunitdir/* %_bindir/dbus-cleanup-sockets %_bindir/dbus-daemon %_bindir/dbus-uuidgen @@ -177,6 +180,9 @@ touch %buildroot%_localstatedir/dbus/machine-id %dir %_datadir/dbus-1/interfaces %changelog +* Fri Jan 14 2011 Alexey Shabalin 1.4.1-alt1.1 +- add systemd service file + * Tue Dec 21 2010 Valery Inozemtsev 1.4.1-alt1 - 1.4.1 -- 1.7.3.5