%global srcname certbot-dns-azure %global forgeurl https://github.com/terrycain/certbot-dns-azure Name: python-%{srcname} Version: 2.4.0 Release: %autorelease Summary: AzureDNS Authenticator plugin for Certbot %global tag %{version} %forgemeta License: Apache-2.0 URL: %forgeurl Source0: %forgesource BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(pytest) %global _description %{expand: AzureDNS Authenticator plugin for Certbot. This plugin is built from the ground up and follows the development style and life-cycle of other certbot-dns-* plugins found in the Official Certbot Repository.} %description %{_description} %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} %{_description} %prep %autosetup -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files certbot_dns_azure %check %pyproject_check_import %pytest %files -n python3-%{srcname} -f %{pyproject_files} %doc README.md %changelog %autochangelog