From 5168c5288b0a701e2735e86f1354ab869ad56536 Mon Sep 17 00:00:00 2001 From: Alexey Shabalin Date: Fri, 14 Jan 2011 18:13:15 +0300 Subject: [PATCH] add systemd support --- udev.spec | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/udev.spec b/udev.spec index 4a88a16..9354a38 100644 --- a/udev.spec +++ b/udev.spec @@ -1,6 +1,8 @@ +%define systemdsystemunitdir /lib/systemd/system + Name: udev Version: 165 -Release: alt1 +Release: alt1.1 Summary: udev - an userspace implementation of devfs License: GPLv2+ Group: System/Configuration/Hardware @@ -120,6 +122,7 @@ GObject introspection devel data for the GUdev library --with-selinux \ --sbindir=/sbin \ --libexecdir=/lib/%name \ + --with-systemdsystemunitdir=%systemdsystemunitdir \ --disable-silent-rules %make_build @@ -208,6 +211,7 @@ touch %buildroot%_sysconfdir/udev/rules.d/70-persistent-net.rules %config(noreplace) %_sysconfdir/udev/*.conf %config %_sysconfdir/scsi_id.config %_initdir/udevd* +%systemdsystemunitdir/* %dir /lib/firmware %dir /lib/firmware/updates %dir /lib/udev @@ -275,6 +279,9 @@ touch %buildroot%_sysconfdir/udev/rules.d/70-persistent-net.rules /lib/udev/write_*_rules %changelog +* Fri Jan 14 2011 Alexey Shabalin 165-alt1.1 +- add systemd service file + * Thu Dec 16 2010 Valery Inozemtsev 165-alt1 - 165 -- 1.7.3.5