diff --git a/sagemath.spec b/sagemath.spec index cbb640e..f503a12 100644 --- a/sagemath.spec +++ b/sagemath.spec @@ -860,6 +860,7 @@ mkdir -p $DOT_SAGE/tmp export PATH=%{buildroot}%{_bindir}:$PATH export PYTHONPATH=%{buildroot}%{python_sitearch}:$PYTHONPATH +export PYTHONPATH=%{_builddir}%{python_sitearch}:$PYTHONPATH #------------------------------------------------------------------------ mkdir -p %{buildroot}%{_bindir}