use install --root for buildroot not --prefix
This commit is contained in:
parent
8642a73caa
commit
ab8c9c8d40
@ -27,7 +27,7 @@ python setup.py build
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
python setup.py install --prefix=$RPM_BUILD_ROOT%{_prefix}
|
||||
python setup.py install --root=$RPM_BUILD_ROOT
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
Loading…
Reference in New Issue
Block a user