Provide python3-pkg_resources and python3-pkg-resources

See https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_provides

We provide both with underscore and dash, becasue wa don't knwo what the users try first.

Resolves: rhbz#1947857
This commit is contained in:
Miro Hrončok 2021-04-22 16:01:11 +02:00 committed by Charalampos Stratakis
parent 178a3d7c07
commit 8ed33ae38e
1 changed files with 9 additions and 1 deletions

View File

@ -29,7 +29,7 @@
Name: python-setuptools
# When updating, update the bundled libraries versions bellow!
Version: 53.0.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Easily build and distribute Python packages
# setuptools is MIT
# appdirs is MIT
@ -90,6 +90,9 @@ Provides: python%{python3_pkgversion}dist(setuptools) = %{version}
Provides: python%{python3_version}dist(setuptools) = %{version}
%endif
# For users who might see ModuleNotFoundError: No module named 'pkg_resoureces'
%py_provides python%{python3_pkgversion}-pkg_resources
%py_provides python%{python3_pkgversion}-pkg-resources
%description -n python%{python3_pkgversion}-setuptools
Setuptools is a collection of enhancements to the Python 3 distutils that allow
@ -194,6 +197,11 @@ PYTHONPATH=$(pwd) %pytest --ignore=pavement.py
%changelog
* Thu Apr 22 2021 Miro Hrončok <mhroncok@redhat.com> - 53.0.0-3
- Provide python3-pkg_resources
- Provide python3-pkg-resources
Resolves: rhbz#1947857
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 53.0.0-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937