From 8517e36621eec3f9c7879ff7cd5c8c0e80a33965 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Jun 21 2021 07:56:51 +0000 Subject: When verifying bundled provides, work with custom %{python3_pkgversion} set --- diff --git a/python-setuptools.spec b/python-setuptools.spec index a446c06..823fa63 100644 --- a/python-setuptools.spec +++ b/python-setuptools.spec @@ -179,7 +179,7 @@ install -p dist/%{python_wheelname} -t %{buildroot}%{python_wheeldir} %check # Verify bundled provides are up to date cat pkg_resources/_vendor/vendored.txt setuptools/_vendor/vendored.txt > allvendor.txt -%{_rpmconfigdir}/pythonbundles.py allvendor.txt --compare-with '%{bundled}' +%{_rpmconfigdir}/pythonbundles.py allvendor.txt --namespace 'python%{python3_pkgversion}dist' --compare-with '%{bundled}' # Regression test, the wheel should not be larger than 600 KiB # https://bugzilla.redhat.com/show_bug.cgi?id=1914481#c3