2004-09-09 08:04:45 +00:00
|
|
|
Summary: Userland logical volume management tools
|
|
|
|
Name: lvm2
|
2004-09-09 08:07:17 +00:00
|
|
|
Version: 2.00.15
|
2004-09-09 08:07:31 +00:00
|
|
|
Release: 3
|
2004-09-09 08:04:45 +00:00
|
|
|
License: GPL
|
|
|
|
Group: System Environment/Base
|
2004-09-09 08:07:17 +00:00
|
|
|
URL: http://sources.redhat.com/lvm2
|
2004-09-09 08:04:45 +00:00
|
|
|
Source0: LVM2.%{version}.tgz
|
2004-09-09 08:07:17 +00:00
|
|
|
Patch0: lvm2-selinux-disabled.patch
|
|
|
|
Patch1: lvm2-i2o.patch
|
2004-09-09 08:07:31 +00:00
|
|
|
Patch2: lvm2-vgscan-novgs.patch
|
2004-09-09 08:04:45 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
2004-09-09 08:07:17 +00:00
|
|
|
BuildRequires: device-mapper
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
Conflicts: lvm < 1.0.3-19
|
|
|
|
|
|
|
|
%define _exec_prefix /usr
|
2004-09-09 08:04:45 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n LVM2.%{version}
|
2004-09-09 08:07:17 +00:00
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
2004-09-09 08:07:31 +00:00
|
|
|
%patch2 -p1
|
2004-09-09 08:04:45 +00:00
|
|
|
|
|
|
|
%build
|
2004-09-09 08:07:17 +00:00
|
|
|
%configure --enable-static_link --enable-readline --enable-lvm1_fallback --with-staticdir=/sbin --with-user= --with-group=
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT
|
2004-09-09 08:04:45 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2004-09-09 08:07:17 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2004-09-09 08:04:45 +00:00
|
|
|
|
2004-09-09 08:07:17 +00:00
|
|
|
# Temporary links until initscripts get updated to use lvm.static
|
|
|
|
ln -s lvm.static $RPM_BUILD_ROOT/sbin/lvm
|
|
|
|
ln -s lvm.static $RPM_BUILD_ROOT/sbin/pvscan
|
|
|
|
ln -s lvm.static $RPM_BUILD_ROOT/sbin/vgchange
|
|
|
|
ln -s lvm.static $RPM_BUILD_ROOT/sbin/vgscan
|
2004-09-09 08:04:45 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2004-09-09 08:07:17 +00:00
|
|
|
%doc COPYING COPYING.LIB INSTALL README VERSION WHATS_NEW
|
2004-09-09 08:04:45 +00:00
|
|
|
/sbin/lvm.static
|
2004-09-09 08:07:17 +00:00
|
|
|
/sbin/lvm
|
|
|
|
/sbin/pvscan
|
|
|
|
/sbin/vgchange
|
|
|
|
/sbin/vgscan
|
|
|
|
/usr/sbin/lvm
|
|
|
|
/usr/sbin/*
|
2004-09-09 08:04:45 +00:00
|
|
|
%{_mandir}/*/*
|
2004-09-09 08:07:17 +00:00
|
|
|
%config(noreplace) /etc/lvm/lvm.conf
|
2004-09-09 08:04:45 +00:00
|
|
|
|
|
|
|
%changelog
|
2004-09-09 08:07:31 +00:00
|
|
|
* Wed May 26 2004 Alasdair Kergon <agk@redhat.com> - 2.00.15-3
|
|
|
|
- vgscan shouldn't return error status when no VGs present
|
|
|
|
|
2004-09-09 08:07:17 +00:00
|
|
|
* Thu May 06 2004 Warren Togami <wtogami@redhat.com> - 2.00.15-2
|
|
|
|
- i2o patch from Markus Lidel
|
|
|
|
|
|
|
|
* Tue Apr 20 2004 Bill Nottingham <notting@redhat.com> - 2.00.15-1.1
|
|
|
|
- handle disabled SELinux correctly, so that LVMs can be detected in a
|
|
|
|
non-SELinux context
|
|
|
|
|
|
|
|
* Mon Apr 19 2004 Alasdair Kergon <agk@redhat.com> - 2.00.15-1
|
|
|
|
- Fix non-root build with current version of 'install'.
|
|
|
|
|
|
|
|
* Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.14-1
|
|
|
|
- Use 64-bit file offsets.
|
|
|
|
|
|
|
|
* Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.13-1
|
|
|
|
- Avoid scanning devices containing md superblocks.
|
|
|
|
- Integrate ENOTSUP patch.
|
|
|
|
|
|
|
|
* Thu Apr 15 2004 Jeremy Katz <katzj@redhat.com> - 2.00.12-4
|
|
|
|
- don't die if we get ENOTSUP setting selinux contexts
|
|
|
|
|
|
|
|
* Thu Apr 15 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-3
|
|
|
|
- Add temporary pvscan symlink for LVM1 until mkinitrd gets updated.
|
|
|
|
|
|
|
|
* Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-2
|
|
|
|
- Mark config file noreplace.
|
|
|
|
|
|
|
|
* Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-1
|
|
|
|
- Install default /etc/lvm/lvm.conf.
|
|
|
|
- Move non-static binaries to /usr/sbin.
|
|
|
|
- Add temporary links in /sbin to lvm.static until rc.sysinit gets updated.
|
|
|
|
|
|
|
|
* Thu Apr 08 2004 Alasdair Kergon <agk@redhat.com> 2.00.11-1
|
|
|
|
- Fallback to using LVM1 tools when using a 2.4 kernel without device-mapper.
|
|
|
|
|
|
|
|
* Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-2
|
|
|
|
- Install the full toolset, not just 'lvm'.
|
|
|
|
|
|
|
|
* Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-1
|
|
|
|
- Update to version 2.00.10, which incorporates the RH-specific patches
|
|
|
|
and includes various fixes and enhancements detailed in WHATS_NEW.
|
|
|
|
|
2004-09-09 08:05:45 +00:00
|
|
|
* 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
|
|
|
|
|
2004-09-09 08:04:45 +00:00
|
|
|
* Fri Dec 5 2003 Jeremy Katz <katzj@redhat.com> 2.00.08-2
|
|
|
|
- add static lvm binary
|
|
|
|
|
|
|
|
* Tue Dec 2 2003 Jeremy Katz <katzj@redhat.com>
|
|
|
|
- Initial build.
|
|
|
|
|
|
|
|
|