cvsdist bf559cc
Summary: Userland logical volume management tools 
cvsdist bf559cc
Name: lvm2
f1319e7
Version: 2.02.11
5a31cd6
Release: 2.0%{?dist}
cvsdist bf559cc
License: GPL
cvsdist bf559cc
Group: System Environment/Base
cvsdist 9023344
URL: http://sources.redhat.com/lvm2
cvsdist bf559cc
Source0: LVM2.%{version}.tgz
cvsdist bf559cc
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
e61c54e
BuildRequires: device-mapper >= 1.02.11
f95fe0b
BuildRequires: libselinux-devel >= 1.30.19-4, libsepol-devel
f15230e
BuildRequires: libtermcap-devel
f15230e
BuildRequires: ncurses-devel
f15230e
BuildRequires: readline-devel
e61c54e
Requires: device-mapper >= 1.02.11
3a7b2ae
Conflicts: lvm
3a7b2ae
Obsoletes: lvm
cvsdist 9023344
cvsdist 9023344
%define _exec_prefix /usr
cvsdist bf559cc
cvsdist bf559cc
%description
cvsdist 0a8255f
LVM2 includes all of the support for handling read/write operations on
cvsdist 0a8255f
physical volumes (hard disks, RAID-Systems, magneto optical, etc.,
cvsdist 0a8255f
multiple devices (MD), see mdadd(8) or even loop devices, see
cvsdist 0a8255f
losetup(8)), creating volume groups (kind of virtual disks) from one
cvsdist 0a8255f
or more physical volumes and creating one or more logical volumes
cvsdist 0a8255f
(kind of logical partitions) in volume groups.
cvsdist bf559cc
cvsdist bf559cc
%prep
cvsdist bf559cc
%setup -q -n LVM2.%{version}
cvsdist bf559cc
cvsdist bf559cc
%build
ec979c7
%configure --enable-static_link --enable-readline --enable-lvm1_fallback --with-pool=internal --with-staticdir=/sbin --with-user= --with-group=
cvsdist 9023344
make DESTDIR=$RPM_BUILD_ROOT
cvsdist bf559cc
cvsdist bf559cc
%install
cvsdist bf559cc
rm -rf $RPM_BUILD_ROOT
cvsdist 9023344
make install DESTDIR=$RPM_BUILD_ROOT
3a7b2ae
ln -s lvm.static $RPM_BUILD_ROOT/sbin/lvm
3a7b2ae
ln -s lvm.static $RPM_BUILD_ROOT/sbin/pvscan
3a7b2ae
ln -s lvm.static $RPM_BUILD_ROOT/sbin/vgchange
3a7b2ae
ln -s lvm.static $RPM_BUILD_ROOT/sbin/vgscan
753c11c
install -m 0700 -d $RPM_BUILD_ROOT/etc/lvm/archive
753c11c
install -m 0700 -d $RPM_BUILD_ROOT/etc/lvm/backup
753c11c
install -m 0700 -d $RPM_BUILD_ROOT/var/lock/lvm
753c11c
install -m 0700 /dev/null $RPM_BUILD_ROOT/etc/lvm/.cache
cvsdist bf559cc
cvsdist bf559cc
%clean
cvsdist bf559cc
rm -rf $RPM_BUILD_ROOT
cvsdist bf559cc
cvsdist bf559cc
%files
cvsdist bf559cc
%defattr(-,root,root,-)
cvsdist 9023344
%doc COPYING COPYING.LIB INSTALL README VERSION WHATS_NEW
cvsdist bf559cc
/sbin/lvm.static
3a7b2ae
/sbin/lvm
3a7b2ae
/sbin/pvscan
3a7b2ae
/sbin/vgscan
52acd46
/sbin/vgchange
cvsdist 9023344
/usr/sbin/*
cvsdist bf559cc
%{_mandir}/*/*
52acd46
%dir /etc/lvm
9e896fb
%ghost /etc/lvm/.cache
cvsdist 9023344
%config(noreplace) /etc/lvm/lvm.conf
8ea1905
/etc/lvm/backup
8ea1905
/etc/lvm/archive
8ea1905
/var/lock/lvm
cvsdist bf559cc
cvsdist bf559cc
%changelog
5a31cd6
* Sat Oct 14 2006 Alasdair Kergon <agk@redhat.com> - 2.02.11-2.0
5a31cd6
- Append distribution to release.
5a31cd6
f1319e7
* Fri Oct 13 2006 Alasdair Kergon <agk@redhat.com> - 2.02.11-1.0
f1319e7
- New upstream with numerous fixes and small enhancements.
f1319e7
  (See the WHATS_NEW documentation file for complete upstream changelog.)
f1319e7
bb3e888
* Thu Sep 28 2006 Peter Jones <pjones@redhat.com> - 2.02.06-4
bb3e888
- Fix metadata and map alignment problems on ppc64 (#206202)
5d9996d
f95fe0b
* Tue Aug  1 2006 Jeremy Katz <katzj@redhat.com> - 2.02.06-3
f95fe0b
- require new libselinux to avoid segfaults on xen (#200783)
f95fe0b
ec70698
* Thu Jul 27 2006 Jeremy Katz <katzj@redhat.com> - 2.02.06-2
ec70698
- free trip through the buildsystem
ec70698
d89a6c1
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.02.06-1.2.1
d89a6c1
- rebuild
d89a6c1
Stephen Tweedie df4581f
* Tue Jun  6 2006 Stephen C. Tweedie <sct@redhat.com> - 2.02.06-1.2
Stephen Tweedie df4581f
- Rebuild to pick up new nosegneg libc.a for lvm.static
Stephen Tweedie df4581f
9b9dcf1
* Mon May 22 2006 Alasdair Kergon <agk@redhat.com> - 2.02.06-1.1
9b9dcf1
- Reinstate archs now build system is back.
9b9dcf1
- BuildRequires libsepol-devel.
9b9dcf1
3d064ea
* Fri May 12 2006 Alasdair Kergon <agk@redhat.com> - 2.02.06-1.0
3d064ea
- New upstream release.
3d064ea
5a5d2ae
* Sat Apr 22 2006 Alasdair Kergon <agk@redhat.com> - 2.02.05-1.1
5a5d2ae
- Exclude archs that aren't building.
5a5d2ae
ffb8b45
* Fri Apr 21 2006 Alasdair Kergon <agk@redhat.com> - 2.02.05-1.0
ffb8b45
- Fix VG uuid comparisons.
ffb8b45
57c5675
* Wed Apr 19 2006 Alasdair Kergon <agk@redhat.com> - 2.02.04-1.0
57c5675
- New release upstream, including better handling of duplicated VG names.
57c5675
7e0212f
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.02.01-1.2.1
7e0212f
- bump again for double-long bug on ppc(64)
7e0212f
484df69
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.02.01-1.2
484df69
- rebuilt for new gcc4.1 snapshot and glibc changes
484df69
a5df150
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
a5df150
- rebuilt
a5df150
3a7b2ae
* Fri Dec  2 2005 Peter Jones <pjones@redhat.com> - 2.02.01-1
3a7b2ae
- update to 2.02.01
3a7b2ae
0f8e7ac
* Tue Nov  8 2005 Jeremy Katz <katzj@redhat.com> - 2.01.14-4
0f8e7ac
- add patch for xen block devices
0f8e7ac
Florian La Roche e6b59e3
* Sat Oct 15 2005 Florian La Roche <laroche@redhat.com>
Florian La Roche e6b59e3
- add -lselinux -lsepol to the static linking -ldevice-mapper requires it
Florian La Roche e6b59e3
5ea1e79
* Wed Sep 14 2005 Jeremy Katz <katzj@redhat.com> - 2.01.14-2
5ea1e79
- the distro doesn't really work without a 2.6 kernel, so no need to require it
5ea1e79
841a0ae
* Thu Aug 4 2005 Alasdair Kergon <agk@redhat.com> - 2.01.14-1.0
66e91a9
- And a few more bugs fixes.
66e91a9
2741c30
* Wed Jul 13 2005 Alasdair Kergon <agk@redhat.com> - 2.01.13-1.0
2741c30
- Fix several bugs discovered in the last release.
2741c30
7701fe1
* Tue Jun 14 2005 Alasdair Kergon <agk@redhat.com> - 2.01.12-1.0
1a3ae70
- New version upstream with a lot of fixes and enhancements.
1a3ae70
9e896fb
* Wed Apr 27 2005 Alasdair Kergon <agk@redhat.com> - 2.01.08-2.1
9e896fb
- Add /etc/lvm
9e896fb
8ea1905
* Wed Apr 27 2005 Alasdair Kergon <agk@redhat.com> - 2.01.08-2.0
8ea1905
- No longer abort read operations if archive/backup directories aren't there.
8ea1905
- Add runtime directories and file to the package.
8ea1905
e920943
* Tue Mar 22 2005 Alasdair Kergon <agk@redhat.com> - 2.01.08-1.0
e920943
- Improve detection of external changes affecting internal cache.
e920943
- Add clustered VG attribute.
e920943
- Suppress rmdir opendir error message.
e920943
4934719
* Tue Mar 08 2005 Alasdair Kergon <agk@redhat.com> - 2.01.07-1.3
39230f1
* Tue Mar 08 2005 Alasdair Kergon <agk@redhat.com> - 2.01.07-1.2
01a9a31
* Tue Mar 08 2005 Alasdair Kergon <agk@redhat.com> - 2.01.07-1.1
01a9a31
- Suppress some new compiler messages.
01a9a31
03d0424
* Tue Mar 08 2005 Alasdair Kergon <agk@redhat.com> - 2.01.07-1.0
03d0424
- Remove build directory from built-in path.
03d0424
- Extra /dev scanning required for clustered operation.
03d0424
f67c8d2
* Thu Mar 03 2005 Alasdair Kergon <agk@redhat.com> - 2.01.06-1.0
f67c8d2
- Allow anaconda to suppress warning messages.
f67c8d2
82441eb
* Fri Feb 18 2005 Alasdair Kergon <agk@redhat.com> - 2.01.05-1.0
82441eb
- Upstream changes not affecting Fedora.
82441eb
e1e5c0b
* Wed Feb 09 2005 Alasdair Kergon <agk@redhat.com> - 2.01.04-1.0
e1e5c0b
- Offset pool minors; lvm2cmd.so skips open fd check; pvmove -f gone.
e1e5c0b
e5c2657
* Tue Feb 01 2005 Alasdair Kergon <agk@redhat.com> - 2.01.03-1.0
e5c2657
- Fix snapshot device size & 64-bit display output.
e5c2657
608c398
* Fri Jan 21 2005 Alasdair Kergon <agk@redhat.com> - 2.01.02-1.0
608c398
- Minor fixes.
608c398
c5aab8a
* Mon Jan 17 2005 Alasdair Kergon <agk@redhat.com> - 2.01.01-1.0
c5aab8a
- Update vgcreate man page.  Preparation for snapshot origin extension fix.
c5aab8a
7036938
* Mon Jan 17 2005 Alasdair Kergon <agk@redhat.com> - 2.01.00-1.0
7036938
- Fix metadata auto-correction. Only request open_count when needed.
7036938
b99a0b0
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> - 2.00.33-2.0
b99a0b0
- Rebuilt for new readline.
b99a0b0
64fad93
* Fri Jan 7 2005 Alasdair Kergon <agk@redhat.com> - 2.00.33-1.0
64fad93
- pvcreate wipes ext label
64fad93
- several clvm fixes
64fad93
ec979c7
* Thu Jan 6 2005 Alasdair Kergon <agk@redhat.com> - 2.00.32-2.0
ec979c7
- Remove temporary /sbin symlinks no longer needed.
ec979c7
- Include read-only pool support in the build.
ec979c7
9fb0576
* Wed Dec 22 2004 Alasdair Kergon <agk@redhat.com> - 2.00.32-1.0
9fb0576
- More fixes (143501).
9fb0576
ccbfc98
* Sun Dec 12 2004 Alasdair Kergon <agk@redhat.com> - 2.00.31-1.0
ccbfc98
- Fix pvcreate install issues.
ccbfc98
1079be3
* Fri Dec 10 2004 Alasdair Kergon <agk@redhat.com> - 2.00.30-1.0
1079be3
- Additional debugging code.
1079be3
- Some trivial man page corrections.
1079be3
51e5ee2
* Tue Nov 30 2004 Alasdair Kergon <agk@redhat.com> - 2.00.29-1.3
51e5ee2
- Reinstate all archs.
51e5ee2
a8bf559
* Sun Nov 28 2004 Alasdair Kergon <agk@redhat.com> - 2.00.29-1.2
a8bf559
- Try excluding more archs.
a8bf559
18b1079
* Sat Nov 27 2004 Alasdair Kergon <agk@redhat.com> - 2.00.29-1.1
18b1079
- Exclude s390x which fails.
18b1079
0902d2c
* Sat Nov 27 2004 Alasdair Kergon <agk@redhat.com> - 2.00.29-1
0902d2c
- Fix last fix.
0902d2c
47735ab
* Sat Nov 27 2004 Alasdair Kergon <agk@redhat.com> - 2.00.28-1
47735ab
- Endian fix to partition/md signature detection.
47735ab
f56b3d9
* Wed Nov 24 2004 Alasdair Kergon <agk@redhat.com> - 2.00.27-1
f56b3d9
- Fix partition table detection & an out of memory segfault.
f56b3d9
aef0d6c
* Tue Nov 23 2004 Alasdair Kergon <agk@redhat.com> - 2.00.26-1
aef0d6c
- Several installation-related fixes & man page updates.
aef0d6c
Elliot Lee 98bbbc6
* Mon Oct 25 2004 Elliot Lee <sopwith@redhat.com> - 2.00.25-1.01
Elliot Lee 98bbbc6
- Fix 2.6 kernel requirement
Elliot Lee 98bbbc6
c86e65b
* Wed Sep 29 2004 Alasdair Kergon <agk@redhat.com> - 2.00.25-1
c86e65b
- Fix vgmknodes return code & vgremove locking.
c86e65b
f1d8f9c
* Fri Sep 17 2004 Alasdair Kergon <agk@redhat.com> - 2.00.24-2
f1d8f9c
- Obsolete old lvm1 packages; refuse install if running kernel 2.4. [bz 128185]
f1d8f9c
f15230e
* Thu Sep 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.24-1
f15230e
- More upstream fixes.  (Always check WHATS_NEW file for details.)
f15230e
- Add requested BuildRequires. [bz 124916, 132408]
f15230e
f15230e
* Wed Sep 15 2004 Alasdair Kergon <agk@redhat.com> - 2.00.23-1
ac39fd0
- Various minor upstream fixes.
ac39fd0
03a1c39
* Thu Sep  3 2004 Alasdair Kergon <agk@redhat.com> - 2.00.22-1
03a1c39
- Permission fix included upstream; use different endian conversion macros.
03a1c39
cvsdist b7ce32c
* Thu Sep  2 2004 Jeremy Katz <katzj@redhat.com> - 2.00.21-2
cvsdist b7ce32c
- fix permissions on vg dirs
cvsdist b7ce32c
cvsdist 7264d07
* Thu Aug 19 2004 Alasdair Kergon <agk@redhat.com> - 2.00.21-1
cvsdist 7264d07
- New upstream release incorporating fixes plus minor enhancements.
cvsdist 7264d07
cvsdist fd770da
* Tue Aug 17 2004 Jeremy Katz <katzj@redhat.com> - 2.00.20-2
cvsdist fd770da
- add patch for iSeries viodasd support
cvsdist fd770da
- add patch to check file type using stat(2) if d_type == DT_UNKNOWN (#129674)
cvsdist fd770da
cvsdist fb09654
* Sat Jul 3 2004 Alasdair Kergon <agk@redhat.com> - 2.00.20-1
cvsdist fb09654
- New upstream release fixes 2.6 kernel device numbers.
cvsdist fb09654
cvsdist 5ec8e75
* Tue Jun 29 2004 Alasdair Kergon <agk@redhat.com> - 2.00.19-1
cvsdist 5ec8e75
- Latest upstream release.  Lots of changes (see WHATS_NEW).
cvsdist 5ec8e75
cvsdist 5ec8e75
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> - 2.00.15-5
cvsdist 93f2e43
- rebuilt
cvsdist 93f2e43
cvsdist 0a8255f
* Wed May 26 2004 Alasdair Kergon <agk@redhat.com> - 2.00.15-4
cvsdist 0a8255f
- clone %description from LVM rpm
cvsdist 0a8255f
cvsdist 715f5ba
* Wed May 26 2004 Alasdair Kergon <agk@redhat.com> - 2.00.15-3
cvsdist 715f5ba
- vgscan shouldn't return error status when no VGs present
cvsdist 715f5ba
cvsdist 9023344
* Thu May 06 2004 Warren Togami <wtogami@redhat.com> - 2.00.15-2
cvsdist 9023344
- i2o patch from Markus Lidel
cvsdist 9023344
cvsdist 9023344
* Tue Apr 20 2004 Bill Nottingham <notting@redhat.com> - 2.00.15-1.1
cvsdist 9023344
- handle disabled SELinux correctly, so that LVMs can be detected in a
cvsdist 9023344
  non-SELinux context
cvsdist 9023344
  
cvsdist 9023344
* Mon Apr 19 2004 Alasdair Kergon <agk@redhat.com> - 2.00.15-1
cvsdist 9023344
- Fix non-root build with current version of 'install'.
cvsdist 9023344
cvsdist 9023344
* Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.14-1
cvsdist 9023344
- Use 64-bit file offsets.
cvsdist 9023344
cvsdist 9023344
* Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.13-1
cvsdist 9023344
- Avoid scanning devices containing md superblocks.
cvsdist 9023344
- Integrate ENOTSUP patch.
cvsdist 9023344
cvsdist 9023344
* Thu Apr 15 2004 Jeremy Katz <katzj@redhat.com> - 2.00.12-4
cvsdist 9023344
- don't die if we get ENOTSUP setting selinux contexts
cvsdist 9023344
cvsdist 9023344
* Thu Apr 15 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-3
cvsdist 9023344
- Add temporary pvscan symlink for LVM1 until mkinitrd gets updated.
cvsdist 9023344
cvsdist 9023344
* Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-2
cvsdist 9023344
- Mark config file noreplace.
cvsdist 9023344
cvsdist 9023344
* Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-1
cvsdist 9023344
- Install default /etc/lvm/lvm.conf.
cvsdist 9023344
- Move non-static binaries to /usr/sbin.
cvsdist 9023344
- Add temporary links in /sbin to lvm.static until rc.sysinit gets updated.
cvsdist 9023344
cvsdist 9023344
* Thu Apr 08 2004 Alasdair Kergon <agk@redhat.com> 2.00.11-1
cvsdist 9023344
- Fallback to using LVM1 tools when using a 2.4 kernel without device-mapper.
cvsdist 9023344
cvsdist 9023344
* Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-2
cvsdist 9023344
- Install the full toolset, not just 'lvm'.
cvsdist 9023344
cvsdist 9023344
* Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-1
cvsdist 9023344
- Update to version 2.00.10, which incorporates the RH-specific patches
cvsdist 9023344
  and includes various fixes and enhancements detailed in WHATS_NEW.
cvsdist 9023344
cvsdist 2b6cbee
* Wed Mar 17 2004 Jeremy Katz <katzj@redhat.com> 2.00.08-5
cvsdist 2b6cbee
- Fix sysfs patch to find sysfs
cvsdist 2b6cbee
- Take patch from dwalsh and tweak a little for setting SELinux contexts on
cvsdist 2b6cbee
  device node creation and also do it on the symlink creation.  
cvsdist 2b6cbee
  Part of this should probably be pushed down to device-mapper instead
cvsdist 2b6cbee
cvsdist 2b6cbee
* Thu Feb 19 2004 Stephen C. Tweedie <sct@redhat.com> 2.00.08-4
cvsdist 2b6cbee
- Add sysfs filter patch
cvsdist 2b6cbee
- Allow non-root users to build RPM
cvsdist 2b6cbee
cvsdist 2b6cbee
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 2b6cbee
- rebuilt
cvsdist 2b6cbee
cvsdist bf559cc
* Fri Dec  5 2003 Jeremy Katz <katzj@redhat.com> 2.00.08-2
cvsdist bf559cc
- add static lvm binary
cvsdist bf559cc
cvsdist bf559cc
* Tue Dec  2 2003 Jeremy Katz <katzj@redhat.com> 
cvsdist bf559cc
- Initial build.
cvsdist bf559cc
cvsdist bf559cc