diff --git a/python-certbot-nginx.spec b/python-certbot-nginx.spec index ae91208..231abfb 100644 --- a/python-certbot-nginx.spec +++ b/python-certbot-nginx.spec @@ -142,7 +142,7 @@ rm -rf %{pypi_name}.egg-info %check %if %{with python2} -(cd build/lib && %{__python2} ../../setup.py test) +%{__python2} setup.py test %endif %if %{with python3} %{__python3} setup.py test