Try to workaround this yet another way...

This commit is contained in:
Alasdair Kergon 2008-10-07 16:53:33 +00:00
parent 6f16089439
commit ca4abbdcd5

View File

@ -44,12 +44,15 @@ or more physical volumes and creating one or more logical volumes
%build
%define _exec_prefix /
%define _bindir /bin
%define _sbindir /sbin
%define _libdir %{_lib}
cd device-mapper.%{device_mapper_version}
%configure --with-user= --with-group= --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig --with-usrlibdir=/usr/%{_lib} --with-usrsbindir=/usr/sbin --bindir=/bin --sbindir=/sbin --libdir=/%{_lib}
%configure --with-user= --with-group= --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig --with-usrlibdir=/usr/%{_lib} --with-usrsbindir=/usr/sbin
cd ..
%configure --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} --with-usrlibdir=/usr/%{_lib} --with-usrsbindir=/usr/sbin --bindir=/bin --sbindir=/sbin --libdir=/%{_lib}
%configure --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} --with-usrlibdir=/usr/%{_lib} --with-usrsbindir=/usr/sbin
cd device-mapper.%{device_mapper_version}
make DESTDIR=$RPM_BUILD_ROOT