diff --git a/sagemath.spec b/sagemath.spec index 2cd7957..1ee8b5b 100644 --- a/sagemath.spec +++ b/sagemath.spec @@ -1092,7 +1092,7 @@ for file in `find %{buildroot} -name \*.py`; do fi done -%if %{with doc} +%if %{with docs} chmod -x %{buildroot}%{SAGE_DOC}/en/prep/media/Rplot001.png # Documentation is not rebuilt (also corrects rpmlint warning of hidden file)