diff --git a/lvm2.spec b/lvm2.spec index 0b4227c..9864d99 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -38,12 +38,9 @@ or more physical volumes and creating one or more logical volumes cd device-mapper.%{device_mapper_version} %define _exec_prefix "" %configure --with-user= --with-group= --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig -cd .. -%configure --enable-readline --enable-lvm1_fallback --enable-fsadm --with-clvmd=cman --with-cluster=internal --with-pool=internal --with-user= --with-group= --with-dmdir=device-mapper.%{device_mapper_version} - -cd device-mapper.%{device_mapper_version} make cd .. +%configure --enable-readline --enable-lvm1_fallback --enable-fsadm --with-clvmd=cman --with-cluster=internal --with-pool=internal --with-user= --with-group= --with-dmdir=device-mapper.%{device_mapper_version} make DESTDIR=$RPM_BUILD_ROOT %define _exec_prefix /