From 380928483167793c64f189cb830c133ebfcc55df 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. --- python-setuptools.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/python-setuptools.spec b/python-setuptools.spec index 94d2ca2..41e7607 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: 56.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Easily build and distribute Python packages # setuptools is MIT # appdirs is MIT @@ -92,6 +92,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 @@ -199,6 +202,10 @@ PYTHONPATH=$(pwd) %pytest --ignore=pavement.py %changelog +* Thu Apr 22 2021 Miro HronĨok - 56.0.0-2 +- Provide python3-pkg_resources +- Provide python3-pkg-resources + * Fri Apr 09 2021 Tomas Hrnciar - 56.0.0-1 - Update to 56.0.0