diff --git a/python-setuptools-rust.spec b/python-setuptools-rust.spec index b3f5e56..6ae9934 100644 --- a/python-setuptools-rust.spec +++ b/python-setuptools-rust.spec @@ -99,7 +99,7 @@ done %pytest tests/ setuptools_rust/ --import-mode importlib -k '%{test_ignores}' %if %{with integration_tests} -export PYTHONPATH=%{buildroot}%{python3_sitelib} +export %{py3_test_envvars} for example in $(ls examples/ | grep -vE %{integration_tests_exc}); do cd "examples/${example}" %{python3} -c 'from setuptools.build_meta import build_wheel; build_wheel("dist")'