diff --git a/SPECS/python-dateutil.spec b/SPECS/python-dateutil.spec index f5aef272..62ef5781 100644 --- a/SPECS/python-dateutil.spec +++ b/SPECS/python-dateutil.spec @@ -54,13 +54,13 @@ iconv --from=ISO-8859-1 --to=UTF-8 NEWS > NEWS.new mv NEWS.new NEWS %build -%py2_build -%py3_build +%{__python} setup.py build +%{__python3} setup.py build #make -C docs html %install -%py2_install -%py3_install +%{__python} setup.py install --optimize 2 --root %{buildroot} +%{__python3} setup.py install --optimize 2 --root %{buildroot} %check %{__python2} setup.py test