fix static build

This commit is contained in:
Alasdair Kergon 2005-06-14 19:35:02 +00:00
parent 1eb5a20270
commit 830fa3420e

View File

@ -6,6 +6,7 @@ License: GPL
Group: System Environment/Base
URL: http://sources.redhat.com/lvm2
Source0: LVM2.%{version}.tgz
Patch0: lvm2-static.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: device-mapper >= 1.01
BuildRequires: libselinux-devel
@ -29,6 +30,7 @@ or more physical volumes and creating one or more logical volumes
%prep
%setup -q -n LVM2.%{version}
%patch0 -p1
%build
%configure --enable-static_link --enable-readline --enable-lvm1_fallback --with-pool=internal --with-staticdir=/sbin --with-user= --with-group=