mirror of
https://src.fedoraproject.org/rpms/sagemath.git
synced 2025-04-22 19:55:54 -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
|
rm -fr %{buildroot}%{python_sitearch}/sphinx
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with cython_hack}
|
|
||||||
rm -fr %{buildroot}%{python_sitearch}/Cython
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# More wrong buildroot references
|
# More wrong buildroot references
|
||||||
perl -pi -e 's|%{buildroot}||g;' \
|
perl -pi -e 's|%{buildroot}||g;' \
|
||||||
-e "s|$PWD/src/doc|%{SAGE_DOC}|g;" \
|
-e "s|$PWD/src/doc|%{SAGE_DOC}|g;" \
|
||||||
|
@ -1195,6 +1191,10 @@ perl -pi -e 's|%{buildroot}||g;' \
|
||||||
# with docs
|
# with docs
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{with cython_hack}
|
||||||
|
rm -fr %{buildroot}%{python_sitearch}/Cython
|
||||||
|
%endif
|
||||||
|
|
||||||
# Script was used to build documentation
|
# Script was used to build documentation
|
||||||
perl -pi -e 's|%{buildroot}||g;s|^##||g;' %{buildroot}%{_bindir}/sage
|
perl -pi -e 's|%{buildroot}||g;s|^##||g;' %{buildroot}%{_bindir}/sage
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue