diff --git a/python-certbot-dns-cloudxns.spec b/python-certbot-dns-cloudxns.spec index cfcdb8a..298453a 100644 --- a/python-certbot-dns-cloudxns.spec +++ b/python-certbot-dns-cloudxns.spec @@ -1,4 +1,3 @@ -# Created by pyp2rpm-3.2.2 %global pypi_name certbot-dns-cloudxns %if 0%{?rhel} && 0%{?rhel} <= 7 @@ -54,6 +53,11 @@ Requires: python2-mock Requires: python2-setuptools Requires: python2-zope-interface +# Provide the name users expect as a certbot plugin +%if 0%{?rhel} && 0%{?rhel} <= 7 +Provides: %{pypi_name} = %{version}-%{release} +%endif + %description -n python2-%{pypi_name} CloudXNS DNS Authenticator plugin for Certbot %endif @@ -70,6 +74,11 @@ Requires: python3-mock Requires: python3-setuptools Requires: python3-zope-interface +# Provide the name users expect as a certbot plugin +%if 0%{?fedora} +Provides: %{pypi_name} = %{version}-%{release} +%endif + %description -n python3-%{pypi_name} CloudXNS DNS Authenticator plugin for Certbot