Remove temporary /sbin symlinks no longer needed. Include read-only pool
support in the build.
This commit is contained in:
parent
b668351e94
commit
49c90cd0df
18
lvm2.spec
18
lvm2.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: Userland logical volume management tools
|
Summary: Userland logical volume management tools
|
||||||
Name: lvm2
|
Name: lvm2
|
||||||
Version: 2.00.32
|
Version: 2.00.32
|
||||||
Release: 1.0
|
Release: 2.0
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://sources.redhat.com/lvm2
|
URL: http://sources.redhat.com/lvm2
|
||||||
@ -30,19 +30,13 @@ or more physical volumes and creating one or more logical volumes
|
|||||||
%setup -q -n LVM2.%{version}
|
%setup -q -n LVM2.%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-static_link --enable-readline --enable-lvm1_fallback --with-staticdir=/sbin --with-user= --with-group=
|
%configure --enable-static_link --enable-readline --enable-lvm1_fallback --with-pool=internal --with-staticdir=/sbin --with-user= --with-group=
|
||||||
make DESTDIR=$RPM_BUILD_ROOT
|
make DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
# 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
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
@ -50,16 +44,16 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING COPYING.LIB INSTALL README VERSION WHATS_NEW
|
%doc COPYING COPYING.LIB INSTALL README VERSION WHATS_NEW
|
||||||
/sbin/lvm.static
|
/sbin/lvm.static
|
||||||
/sbin/lvm
|
|
||||||
/sbin/pvscan
|
|
||||||
/sbin/vgchange
|
|
||||||
/sbin/vgscan
|
|
||||||
/usr/sbin/lvm
|
/usr/sbin/lvm
|
||||||
/usr/sbin/*
|
/usr/sbin/*
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%config(noreplace) /etc/lvm/lvm.conf
|
%config(noreplace) /etc/lvm/lvm.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 6 2005 Alasdair Kergon <agk@redhat.com> - 2.00.32-2.0
|
||||||
|
- Remove temporary /sbin symlinks no longer needed.
|
||||||
|
- Include read-only pool support in the build.
|
||||||
|
|
||||||
* Wed Dec 22 2004 Alasdair Kergon <agk@redhat.com> - 2.00.32-1.0
|
* Wed Dec 22 2004 Alasdair Kergon <agk@redhat.com> - 2.00.32-1.0
|
||||||
- More fixes (143501).
|
- More fixes (143501).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user