Disable udev synchronisation code.
This commit is contained in:
parent
317e9451f6
commit
f74ed942d8
20
lvm2.spec
20
lvm2.spec
@ -8,7 +8,7 @@
|
|||||||
Summary: Userland logical volume management tools
|
Summary: Userland logical volume management tools
|
||||||
Name: lvm2
|
Name: lvm2
|
||||||
Version: 2.02.52
|
Version: 2.02.52
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://sources.redhat.com/lvm2
|
URL: http://sources.redhat.com/lvm2
|
||||||
@ -27,7 +27,6 @@ BuildRequires: corosynclib-devel >= %{corosync_version}
|
|||||||
BuildRequires: clusterlib-devel >= %{clusterlib_version}
|
BuildRequires: clusterlib-devel >= %{clusterlib_version}
|
||||||
BuildRequires: module-init-tools
|
BuildRequires: module-init-tools
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: libudev-devel
|
|
||||||
Requires: device-mapper >= %{device_mapper_version}-%{release}
|
Requires: device-mapper >= %{device_mapper_version}-%{release}
|
||||||
Requires: device-mapper-event >= %{device_mapper_version}-%{release}
|
Requires: device-mapper-event >= %{device_mapper_version}-%{release}
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
@ -57,10 +56,8 @@ or more physical volumes and creating one or more logical volumes
|
|||||||
%define _bindir /bin
|
%define _bindir /bin
|
||||||
%define _sbindir /sbin
|
%define _sbindir /sbin
|
||||||
%define _libdir /%{_lib}
|
%define _libdir /%{_lib}
|
||||||
%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
|
%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
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
@ -91,7 +88,7 @@ fi
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING COPYING.LIB INSTALL README VERSION WHATS_NEW udev/12-dm-permissions.rules
|
%doc COPYING COPYING.LIB INSTALL README VERSION WHATS_NEW
|
||||||
%{_sbindir}/fsadm
|
%{_sbindir}/fsadm
|
||||||
%{_sbindir}/lvchange
|
%{_sbindir}/lvchange
|
||||||
%{_sbindir}/lvconvert
|
%{_sbindir}/lvconvert
|
||||||
@ -183,7 +180,6 @@ fi
|
|||||||
%{_mandir}/man8/vgs.8.gz
|
%{_mandir}/man8/vgs.8.gz
|
||||||
%{_mandir}/man8/vgscan.8.gz
|
%{_mandir}/man8/vgscan.8.gz
|
||||||
%{_mandir}/man8/vgsplit.8.gz
|
%{_mandir}/man8/vgsplit.8.gz
|
||||||
%{_udevdir}/11-lvm.rules
|
|
||||||
%dir /etc/lvm
|
%dir /etc/lvm
|
||||||
%ghost /etc/lvm/cache/.cache
|
%ghost /etc/lvm/cache/.cache
|
||||||
%config(noreplace) /etc/lvm/lvm.conf
|
%config(noreplace) /etc/lvm/lvm.conf
|
||||||
@ -285,8 +281,6 @@ License: GPLv2
|
|||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://sources.redhat.com/dm
|
URL: http://sources.redhat.com/dm
|
||||||
Requires: device-mapper-libs = %{device_mapper_version}-%{release}
|
Requires: device-mapper-libs = %{device_mapper_version}-%{release}
|
||||||
Requires: libudev
|
|
||||||
Requires: util-linux-ng >= 2.15
|
|
||||||
|
|
||||||
%description -n device-mapper
|
%description -n device-mapper
|
||||||
This package contains the supporting userspace utility, dmsetup,
|
This package contains the supporting userspace utility, dmsetup,
|
||||||
@ -297,11 +291,6 @@ for the kernel device-mapper.
|
|||||||
%doc COPYING COPYING.LIB WHATS_NEW_DM VERSION_DM README INSTALL
|
%doc COPYING COPYING.LIB WHATS_NEW_DM VERSION_DM README INSTALL
|
||||||
%attr(755,root,root) /sbin/dmsetup
|
%attr(755,root,root) /sbin/dmsetup
|
||||||
%{_mandir}/man8/dmsetup.8.gz
|
%{_mandir}/man8/dmsetup.8.gz
|
||||||
%dir %{_udevbasedir}
|
|
||||||
%dir %{_udevdir}
|
|
||||||
%{_udevdir}/10-dm.rules
|
|
||||||
%{_udevdir}/12-dm-disk.rules
|
|
||||||
%{_udevdir}/95-dm-notify.rules
|
|
||||||
|
|
||||||
%package -n device-mapper-devel
|
%package -n device-mapper-devel
|
||||||
Summary: Development libraries and headers for device-mapper
|
Summary: Development libraries and headers for device-mapper
|
||||||
@ -396,6 +385,9 @@ the device-mapper event library.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 24 2009 Peter Rajnoha <prajnoha@redhat.com> - 2.02.52-4
|
||||||
|
- Disable udev synchronisation code (revert previous build).
|
||||||
|
|
||||||
* Mon Sep 21 2009 Peter Rajnoha <prajnoha@redhat.com> - 2.02.52-3
|
* Mon Sep 21 2009 Peter Rajnoha <prajnoha@redhat.com> - 2.02.52-3
|
||||||
- Enable udev synchronisation code.
|
- Enable udev synchronisation code.
|
||||||
- Install default udev rules for device-mapper and LVM2.
|
- Install default udev rules for device-mapper and LVM2.
|
||||||
|
Loading…
Reference in New Issue
Block a user