|
|
@ -54,13 +54,13 @@ iconv --from=ISO-8859-1 --to=UTF-8 NEWS > NEWS.new |
|
|
|
mv NEWS.new NEWS |
|
|
|
mv NEWS.new NEWS |
|
|
|
|
|
|
|
|
|
|
|
%build |
|
|
|
%build |
|
|
|
%py2_build |
|
|
|
%{__python} setup.py build |
|
|
|
%py3_build |
|
|
|
%{__python3} setup.py build |
|
|
|
#make -C docs html |
|
|
|
#make -C docs html |
|
|
|
|
|
|
|
|
|
|
|
%install |
|
|
|
%install |
|
|
|
%py2_install |
|
|
|
%{__python} setup.py install --optimize 2 --root %{buildroot} |
|
|
|
%py3_install |
|
|
|
%{__python3} setup.py install --optimize 2 --root %{buildroot} |
|
|
|
|
|
|
|
|
|
|
|
%check |
|
|
|
%check |
|
|
|
%{__python2} setup.py test |
|
|
|
%{__python2} setup.py test |
|
|
|