From 76fc5634b939cda780d59329bf0c6aad5b1eb99c Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Mar 11 2020 07:42:31 +0000 Subject: fix test discovery on Python 2 --- 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