mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 11:45:56 -04:00
with_cython_hack is not dependant on with_docs
This commit is contained in:
parent
379c28fb7d
commit
f68ede38b1
1 changed files with 4 additions and 4 deletions
|
@ -1184,10 +1184,6 @@ sed -i 's|%{buildroot}||g' $SAGE_DOC/test.log
|
|||
rm -fr %{buildroot}%{python_sitearch}/sphinx
|
||||
%endif
|
||||
|
||||
%if %{with cython_hack}
|
||||
rm -fr %{buildroot}%{python_sitearch}/Cython
|
||||
%endif
|
||||
|
||||
# More wrong buildroot references
|
||||
perl -pi -e 's|%{buildroot}||g;' \
|
||||
-e "s|$PWD/src/doc|%{SAGE_DOC}|g;" \
|
||||
|
@ -1195,6 +1191,10 @@ perl -pi -e 's|%{buildroot}||g;' \
|
|||
# with docs
|
||||
%endif
|
||||
|
||||
%if %{with cython_hack}
|
||||
rm -fr %{buildroot}%{python_sitearch}/Cython
|
||||
%endif
|
||||
|
||||
# Script was used to build documentation
|
||||
perl -pi -e 's|%{buildroot}||g;s|^##||g;' %{buildroot}%{_bindir}/sage
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue