From 8897b440855edfcfb9e481f147ceefa3884c1822 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Tue, 14 Jun 2005 19:35:02 +0000 Subject: [PATCH] fix static build --- lvm2.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lvm2.spec b/lvm2.spec index c43fa28..09c0b31 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -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=