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=