From 5572104e66b84196335877f78bf06d04be699f12 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Dec 20 2021 18:46:33 +0000 Subject: Use PEP 503 names for BuildRequires Since Fedora 33, we generate both python3dist(foo.bar) and python3dist(foo-bar) provides, but we'd like to follow PEP 503 and use only the names with dash. By using the dashes, this is not compatible with the provides generated in EPEL 8, compatibility can be achieved with the %py3_dist macro. --- diff --git a/python-twisted.spec b/python-twisted.spec index ce8c499..e2a1576 100644 --- a/python-twisted.spec +++ b/python-twisted.spec @@ -53,7 +53,7 @@ BuildRequires: python3dist(setuptools) BuildRequires: python3dist(sphinx) >= 1.3.1 BuildRequires: python3dist(sphinx-rtd-theme) BuildRequires: python3dist(typing-extensions) >= 3.6.5 -BuildRequires: python3dist(zope.interface) >= 4.4.2 +BuildRequires: python3dist(zope-interface) >= 4.4.2 %{?python_extras_subpkg:Recommends: python3-%{pypi_name}+tls} %{!?python_extras_subpkg:Recommends: python3dist(service-identity) >= 18.1}