diff --git a/lvm2.spec b/lvm2.spec index 51747e1..54c7bea 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -12,6 +12,7 @@ BuildRequires: libselinux-devel BuildRequires: libtermcap-devel BuildRequires: ncurses-devel BuildRequires: readline-devel +Requires: kernel >= 2.6 Conflicts: lvm < 1.0.3-19 Obsoletes: lvm < 1.0.3-19 @@ -42,10 +43,6 @@ 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 -%pre -[[ `/bin/uname -r` < 2.6 ]] && echo "You need to be running a 2.6 kernel to install lvm2." && exit 1 -exit 0 - %clean rm -rf $RPM_BUILD_ROOT @@ -63,6 +60,9 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) /etc/lvm/lvm.conf %changelog +* Mon Oct 25 2004 Elliot Lee - 2.00.25-1.01 +- Fix 2.6 kernel requirement + * Wed Sep 29 2004 Alasdair Kergon - 2.00.25-1 - Fix vgmknodes return code & vgremove locking.