auto-import changelog data from lvm2-2.00.08-5.src.rpm
Wed Mar 17 2004 Jeremy Katz <katzj@redhat.com> 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 <sct@redhat.com> 2.00.08-4 - Add sysfs filter patch - Allow non-root users to build RPM Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> - rebuilt
This commit is contained in:
parent
bf559cc741
commit
2b6cbeeba3
32
lvm2.spec
32
lvm2.spec
@ -1,15 +1,18 @@
|
|||||||
Summary: Userland logical volume management tools
|
Summary: Userland logical volume management tools
|
||||||
Name: lvm2
|
Name: lvm2
|
||||||
Version: 2.00.08
|
Version: 2.00.08
|
||||||
Release: 2
|
Release: 5
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://www.sistina.com
|
URL: http://www.sistina.com
|
||||||
Source0: LVM2.%{version}.tgz
|
Source0: LVM2.%{version}.tgz
|
||||||
Patch0: lvm2-blksize64.patch
|
Patch0: lvm2-blksize64.patch
|
||||||
Patch1: lvm2-static.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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
||||||
BuildRequires: device-mapper
|
BuildRequires: device-mapper, autoconf
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
@ -17,15 +20,23 @@ BuildRequires: device-mapper
|
|||||||
%setup -q -n LVM2.%{version}
|
%setup -q -n LVM2.%{version}
|
||||||
%patch0 -p1 -b .blksize64
|
%patch0 -p1 -b .blksize64
|
||||||
%patch1 -p1 -b .static
|
%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
|
%build
|
||||||
%configure --sbindir=/sbin --libdir=%{_lib}
|
# needed for patch4 (selinux support)
|
||||||
|
autoconf
|
||||||
|
%configure --sbindir=/sbin --libdir=/%{_lib}
|
||||||
make
|
make
|
||||||
mv tools/lvm tools/lvm.dyn
|
mv tools/lvm tools/lvm.dyn
|
||||||
|
|
||||||
# now do a static build
|
# now do a static build
|
||||||
make clean
|
make clean
|
||||||
%configure --sbindir=/sbin --libdir=%{_lib} --enable-static_link
|
%configure --sbindir=/sbin --libdir=/%{_lib} --enable-static_link
|
||||||
make
|
make
|
||||||
(cd tools; make lvm.static)
|
(cd tools; make lvm.static)
|
||||||
|
|
||||||
@ -51,6 +62,19 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 17 2004 Jeremy Katz <katzj@redhat.com> 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 <sct@redhat.com> 2.00.08-4
|
||||||
|
- Add sysfs filter patch
|
||||||
|
- Allow non-root users to build RPM
|
||||||
|
|
||||||
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
||||||
|
- rebuilt
|
||||||
|
|
||||||
* Fri Dec 5 2003 Jeremy Katz <katzj@redhat.com> 2.00.08-2
|
* Fri Dec 5 2003 Jeremy Katz <katzj@redhat.com> 2.00.08-2
|
||||||
- add static lvm binary
|
- add static lvm binary
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user