diff --git a/python-certbot-nginx-remove-mock-runtime-dependency.patch b/python-certbot-nginx-remove-mock-runtime-dependency.patch new file mode 100644 index 0000000..52be677 --- /dev/null +++ b/python-certbot-nginx-remove-mock-runtime-dependency.patch @@ -0,0 +1,12 @@ +diff --git a/setup.py b/setup.py +index dc50f5c..7b9b15e 100644 +--- a/setup.py ++++ b/setup.py +@@ -11,7 +11,6 @@ version = '1.2.0' + install_requires = [ + 'acme>=1.0.0', + 'certbot>=1.1.0', +- 'mock', + 'PyOpenSSL', + 'pyparsing>=1.5.5', # Python3 support; perhaps unnecessary? + 'setuptools', diff --git a/python-certbot-nginx.spec b/python-certbot-nginx.spec index 328bcbb..e4d24b4 100644 --- a/python-certbot-nginx.spec +++ b/python-certbot-nginx.spec @@ -27,6 +27,8 @@ Source1: %{pypi_source}.asc # gpg2 --export --export-options export-minimal A2CFB51FA275A7286234E7B24D17C995CD9775F2 > gpg-A2CFB51FA275A7286234E7B24D17C995CD9775F2.gpg Source2: gpg-A2CFB51FA275A7286234E7B24D17C995CD9775F2.gpg +Patch0: %{name}-remove-mock-runtime-dependency.patch + BuildArch: noarch %if %{with python2}