From ddd8f5d0b4c0bc14c9593df99c0b92fdc3af5fa5 Mon Sep 17 00:00:00 2001 From: Nick Bebout Date: Feb 21 2018 14:28:17 +0000 Subject: Disable docs and tests for epel7 for now due to deps --- diff --git a/python-certbot-dns-dnsmadeeasy.spec b/python-certbot-dns-dnsmadeeasy.spec index f7d66e8..6135426 100644 --- a/python-certbot-dns-dnsmadeeasy.spec +++ b/python-certbot-dns-dnsmadeeasy.spec @@ -21,10 +21,10 @@ BuildRequires: python2-certbot = 0.21.1 BuildRequires: python2-devel BuildRequires: python2-dns-lexicon BuildRequires: python2-setuptools -BuildRequires: python2-sphinx -BuildRequires: python2-zope-interface +BuildRequires: python-zope-interface %if %{with python3} +BuildRequires: python2-sphinx BuildRequires: python3-certbot = 0.21.1 BuildRequires: python3-devel BuildRequires: python3-dns-lexicon @@ -44,7 +44,7 @@ Requires: python2-certbot = 0.21.1 Requires: python2-dns-lexicon Requires: python2-mock Requires: python2-setuptools >= 1.0 -Requires: python2-zope-interface +Requires: python-zope-interface Requires: python2-setuptools %description -n python2-%{pypi_name} @@ -65,12 +65,12 @@ Requires: python3-setuptools %description -n python3-%{pypi_name} DNS Made Easy DNS Authenticator plugin for Certbot -%endif %package -n python-%{pypi_name}-doc Summary: certbot-dns-dnsmadeeasy documentation %description -n python-%{pypi_name}-doc Documentation for certbot-dns-dnsmadeeasy +%endif %prep %autosetup -n %{pypi_name}-%{version} @@ -82,12 +82,11 @@ rm -rf %{pypi_name}.egg-info %if %{with python3} %py3_build -%endif - # generate html docs sphinx-build docs html # remove the sphinx-build leftovers rm -rf html/.{doctrees,buildinfo} +%endif %install # Must do the subpackages' install first because the scripts in /usr/bin are @@ -101,9 +100,8 @@ rm -rf html/.{doctrees,buildinfo} %check -%{__python2} setup.py test - %if %{with python3} +%{__python2} setup.py test %{__python3} setup.py test %endif @@ -119,10 +117,10 @@ rm -rf html/.{doctrees,buildinfo} %doc README.rst %{python3_sitelib}/certbot_dns_dnsmadeeasy %{python3_sitelib}/certbot_dns_dnsmadeeasy-%{version}-py?.?.egg-info -%endif %files -n python-%{pypi_name}-doc %doc html +%endif %changelog * Mon Feb 19 2018 Nick Bebout - 0.21.1-1