From 8ed33ae38e8752fb998462cc041bee053c8babbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 22 Apr 2021 16:01:11 +0200 Subject: [PATCH] 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 --- python-setuptools.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/python-setuptools.spec b/python-setuptools.spec index 3ce6c39..3fbb4be 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -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 - 53.0.0-3 +- Provide python3-pkg_resources +- Provide python3-pkg-resources +Resolves: rhbz#1947857 + * Fri Apr 16 2021 Mohan Boddu - 53.0.0-2 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937