From 317e9451f6c5e4c0c2f364717a2cd637732e94ff Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Mon, 21 Sep 2009 15:47:01 +0000 Subject: [PATCH] Include /lib/udev/rules.d directory in the package. --- lvm2.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/lvm2.spec b/lvm2.spec index a28e1f4..813f97e 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -57,7 +57,8 @@ or more physical volumes and creating one or more logical volumes %define _bindir /bin %define _sbindir /sbin %define _libdir /%{_lib} -%define _udevdir /%{_lib}/udev/rules.d +%define _udevbasedir /lib/udev +%define _udevdir %{_udevbasedir}/rules.d %configure --enable-lvm1_fallback --enable-fsadm --with-clvmd=cman,corosync --with-cluster=internal --with-pool=internal --with-user= --with-group= --with-usrlibdir=/usr/%{_lib} --with-usrsbindir=/usr/sbin --with-udevdir=%{_udevdir} --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig --enable-applib --enable-cmdlib --enable-dmeventd --enable-udev_sync @@ -296,6 +297,8 @@ for the kernel device-mapper. %doc COPYING COPYING.LIB WHATS_NEW_DM VERSION_DM README INSTALL %attr(755,root,root) /sbin/dmsetup %{_mandir}/man8/dmsetup.8.gz +%dir %{_udevbasedir} +%dir %{_udevdir} %{_udevdir}/10-dm.rules %{_udevdir}/12-dm-disk.rules %{_udevdir}/95-dm-notify.rules @@ -394,11 +397,11 @@ the device-mapper event library. %changelog * Mon Sep 21 2009 Peter Rajnoha - 2.02.52-3 -- Enable udev synchronisation code -- Install default udev rules for device-mapper and LVM2 -- Add BuildRequires: libudev-devel -- Add Requires: libudev (to check udev is running) -- Add Requires: util-linux-ng (blkid used in udev rules) +- Enable udev synchronisation code. +- Install default udev rules for device-mapper and LVM2. +- Add BuildRequires: libudev-devel. +- Add Requires: libudev (to check udev is running). +- Add Requires: util-linux-ng (blkid used in udev rules). * Wed Sep 16 2009 Alasdair Kergon - 2.02.52-2 - Build dmeventd and place into a separate set of subpackages.