use install --root for buildroot not --prefix

This commit is contained in:
Adam Spiers 2006-05-15 03:15:23 +01:00
parent 8642a73caa
commit ab8c9c8d40

View File

@ -27,7 +27,7 @@ python setup.py build
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
python setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix} python setup.py install --root=$RPM_BUILD_ROOT
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT