From 52f8dc7839515144d7e5bd6de08be6892b20327c Mon Sep 17 00:00:00 2001 From: pcpa Date: Thu, 25 Aug 2016 14:00:40 -0400 Subject: [PATCH] Add builddir to python path to avoid embedded buildroot in some debug --- sagemath.spec | 1 + 1 file changed, 1 insertion(+) 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}