rpms/lvm2/devel lvm2.spec,1.178,1.179
Peter Rajnoha
prajnoha at fedoraproject.org
Mon Sep 21 12:21:00 UTC 2009
Author: prajnoha
Update of /cvs/pkgs/rpms/lvm2/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16856/devel
Modified Files:
lvm2.spec
Log Message:
Enable udev synchronisation code and install default udev rules.
Index: lvm2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/lvm2/devel/lvm2.spec,v
retrieving revision 1.178
retrieving revision 1.179
diff -u -p -r1.178 -r1.179
--- lvm2.spec 17 Sep 2009 12:18:52 -0000 1.178
+++ lvm2.spec 21 Sep 2009 12:20:59 -0000 1.179
@@ -8,7 +8,7 @@
Summary: Userland logical volume management tools
Name: lvm2
Version: 2.02.52
-Release: 2%{?dist}
+Release: 3%{?dist}
License: GPLv2
Group: System Environment/Base
URL: http://sources.redhat.com/lvm2
@@ -27,6 +27,7 @@ BuildRequires: corosynclib-devel >= %{co
BuildRequires: clusterlib-devel >= %{clusterlib_version}
BuildRequires: module-init-tools
BuildRequires: pkgconfig
+BuildRequires: libudev-devel
Requires: device-mapper >= %{device_mapper_version}-%{release}
Requires: device-mapper-event >= %{device_mapper_version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
@@ -56,8 +57,9 @@ or more physical volumes and creating on
%define _bindir /bin
%define _sbindir /sbin
%define _libdir /%{_lib}
+%define _udevdir /%{_lib}/udev/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-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig --enable-applib --enable-cmdlib --enable-dmeventd
+%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
make %{?_smp_mflags}
@@ -88,7 +90,7 @@ fi
%files
%defattr(-,root,root,-)
-%doc COPYING COPYING.LIB INSTALL README VERSION WHATS_NEW
+%doc COPYING COPYING.LIB INSTALL README VERSION WHATS_NEW udev/12-dm-permissions.rules
%{_sbindir}/fsadm
%{_sbindir}/lvchange
%{_sbindir}/lvconvert
@@ -180,6 +182,7 @@ fi
%{_mandir}/man8/vgs.8.gz
%{_mandir}/man8/vgscan.8.gz
%{_mandir}/man8/vgsplit.8.gz
+%{_udevdir}/11-lvm.rules
%dir /etc/lvm
%ghost /etc/lvm/cache/.cache
%config(noreplace) /etc/lvm/lvm.conf
@@ -281,6 +284,8 @@ License: GPLv2
Group: System Environment/Base
URL: http://sources.redhat.com/dm
Requires: device-mapper-libs = %{device_mapper_version}-%{release}
+Requires: libudev
+Requires: util-linux-ng >= 2.15
%description -n device-mapper
This package contains the supporting userspace utility, dmsetup,
@@ -291,6 +296,9 @@ 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
+%{_udevdir}/10-dm.rules
+%{_udevdir}/12-dm-disk.rules
+%{_udevdir}/95-dm-notify.rules
%package -n device-mapper-devel
Summary: Development libraries and headers for device-mapper
@@ -385,6 +393,13 @@ the device-mapper event library.
%changelog
+* Mon Sep 21 2009 Peter Rajnoha <prajnoha at redhat.com> - 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)
+
* Wed Sep 16 2009 Alasdair Kergon <agk at redhat.com> - 2.02.52-2
- Build dmeventd and place into a separate set of subpackages.
- Remove no-longer-needed BuildRoot tag and buildroot emptying at install.
More information about the scm-commits
mailing list