Change to use python2 for setup.py install
This commit is contained in:
parent
d632f2c7a6
commit
4ad90c3d2f
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ find ./build -name \*.py -print -exec %{__sed} -i "1{/^#\!/d}" {} \;
|
|||
%{__rm} -rf %{buildroot}
|
||||
%{__mkdir_p} %{buildroot}%{_bindir}
|
||||
%{__install} -m 755 bin/xxdiff %{buildroot}%{_bindir}
|
||||
%{__python} setup.py install -O1 --skip-build --root=%{buildroot} --install-lib=%{python_sitelib}
|
||||
%{__python2} setup.py install -O1 --skip-build --root=%{buildroot} --install-lib=%{python2_sitelib}
|
||||
|
||||
%files
|
||||
%doc doc index.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue