From 30e8b0af4224dbc1805ff0c683146ded0d12a87e Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Aug 04 2021 10:56:55 +0000 Subject: remove conditional "recommends" as this spec file is only meant for EPEL 8+ and Fedora (EPEL 7 will need a separate spec file once it uses Python 3) EPEL 8 supports the "Recommends" tag. --- diff --git a/python-certbot-dns-digitalocean.spec b/python-certbot-dns-digitalocean.spec index 84aa6e7..56230f5 100644 --- a/python-certbot-dns-digitalocean.spec +++ b/python-certbot-dns-digitalocean.spec @@ -29,19 +29,16 @@ This certbot plugin automates the process of completing an ACME dns-01 challenge by creating, and subsequently removing, TXT records using DigitalOcean DNS. + %package -n python3-%{pypi_name} +Summary: %{summary} + # Provide the name users expect as a certbot plugin %if 0%{?fedora} Provides: %{pypi_name} = %{version}-%{release} %endif - -%if 0%{?fedora} -#Recommend the CLI as that will be the interface most use -Recommends: certbot >= 0.39.0 -%else -Requires: certbot >= 0.39.0 -%endif -Summary: %{summary} +# Recommend the CLI as that will be the interface most use +Recommends: certbot %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name}