Comment the provides explicitly

Anecdata: at least three of the python-maint team members got stuck on "why do
we have the same line twice there" when they read the spec for the first time
This commit is contained in:
Karolina Surma 2022-03-10 10:22:51 +01:00
parent 748e1cb28e
commit b36e0d42f2

View File

@ -110,6 +110,7 @@ Provides: python%{python3_version}dist(setuptools) = %{version}
%endif
# For users who might see ModuleNotFoundError: No module named 'pkg_resoureces'
# NB: Those are two different provides: one contains underscore, the other hyphen
%py_provides python%{python3_pkgversion}-pkg_resources
%py_provides python%{python3_pkgversion}-pkg-resources