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.
epel9
Miro Hrončok 3 years ago
parent 640ef5b2fd
commit 9b24b580c0

@ -41,8 +41,8 @@ Summary: jaraco-classes documentation
BuildRequires: python3dist(pytest-checkdocs) BuildRequires: python3dist(pytest-checkdocs)
BuildRequires: python3dist(sphinx) BuildRequires: python3dist(sphinx)
BuildRequires: python3dist(jaraco.packaging) >= 3.2 BuildRequires: python3dist(jaraco-packaging) >= 3.2
BuildRequires: python3dist(rst.linker) >= 1.9 BuildRequires: python3dist(rst-linker) >= 1.9
%description -n python-%{pkg_name}-doc %description -n python-%{pkg_name}-doc
Documentation for jaraco-classes Documentation for jaraco-classes

Loading…
Cancel
Save