From 8517e36621eec3f9c7879ff7cd5c8c0e80a33965 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 21 Jun 2021 09:56:51 +0200 Subject: [PATCH] When verifying bundled provides, work with custom %{python3_pkgversion} set --- python-setuptools.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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