From 2b6cbeeba37b5ff0439e7977f1b64506f4bd028a Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 08:05:45 +0000 Subject: [PATCH] auto-import changelog data from lvm2-2.00.08-5.src.rpm Wed Mar 17 2004 Jeremy Katz 2.00.08-5 - Fix sysfs patch to find sysfs - Take patch from dwalsh and tweak a little for setting SELinux contexts on device node creation and also do it on the symlink creation. Part of this should probably be pushed down to device-mapper instead Thu Feb 19 2004 Stephen C. Tweedie 2.00.08-4 - Add sysfs filter patch - Allow non-root users to build RPM Fri Feb 13 2004 Elliot Lee - rebuilt --- lvm2.spec | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/lvm2.spec b/lvm2.spec index f6a734b..ed88303 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -1,15 +1,18 @@ Summary: Userland logical volume management tools Name: lvm2 Version: 2.00.08 -Release: 2 +Release: 5 License: GPL Group: System Environment/Base URL: http://www.sistina.com Source0: LVM2.%{version}.tgz Patch0: lvm2-blksize64.patch Patch1: lvm2-static.patch +Patch2: lvm2-sysfs-filter.patch +Patch3: lvm2-Makefile-nonroot.patch +Patch4: lvm2-selinux.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -BuildRequires: device-mapper +BuildRequires: device-mapper, autoconf %description @@ -17,15 +20,23 @@ BuildRequires: device-mapper %setup -q -n LVM2.%{version} %patch0 -p1 -b .blksize64 %patch1 -p1 -b .static +# Limit "lvm vgscan" to block devices visible in /sys/block/ +%patch2 -p1 -b .sysfs +# Allow non-root users to build RPM +%patch3 -p1 -b .nonroot +# Set SELinux contexts on device nodes we create +%patch4 -p1 -b .selinux %build -%configure --sbindir=/sbin --libdir=%{_lib} +# needed for patch4 (selinux support) +autoconf +%configure --sbindir=/sbin --libdir=/%{_lib} make mv tools/lvm tools/lvm.dyn # now do a static build make clean -%configure --sbindir=/sbin --libdir=%{_lib} --enable-static_link +%configure --sbindir=/sbin --libdir=/%{_lib} --enable-static_link make (cd tools; make lvm.static) @@ -51,6 +62,19 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Wed Mar 17 2004 Jeremy Katz 2.00.08-5 +- Fix sysfs patch to find sysfs +- Take patch from dwalsh and tweak a little for setting SELinux contexts on + device node creation and also do it on the symlink creation. + Part of this should probably be pushed down to device-mapper instead + +* Thu Feb 19 2004 Stephen C. Tweedie 2.00.08-4 +- Add sysfs filter patch +- Allow non-root users to build RPM + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + * Fri Dec 5 2003 Jeremy Katz 2.00.08-2 - add static lvm binary