Make documentation scripts non-executable

Fixes autogenerating Python 2 dependency in sympy-examples (#1360766)
This commit is contained in:
Iryna Shcherbina 2017-01-20 13:22:03 +01:00 committed by Zbigniew Jędrzejewski-Szmek
parent 84b8afdb94
commit 7ba795f02b

View File

@ -1,6 +1,6 @@
Name: sympy
Version: 1.0
Release: 4%{?dist}
Release: 5%{?dist}
Summary: A Python library for symbolic mathematics
License: BSD
URL: http://sympy.org/
@ -183,7 +183,7 @@ cp -a data/TeXmacs/progs %{buildroot}%{_datadir}/TeXmacs/plugins/sympy
chmod a-x %{buildroot}%{_datadir}/TeXmacs/plugins/sympy/progs/*.scm
# Don't let an executable script go into the documentation
chmod a-x examples/all.py
chmod -R a-x+X examples
# Convert the README to HTML
rst2html --no-datestamp README.rst README.html
@ -248,6 +248,10 @@ popd
%{_docdir}/%{name}-doc/html
%changelog
* Fri Jan 20 2017 Iryna Shcherbina <ishcherb@redhat.com> - 1.0-5
- Make documentation scripts non-executable to avoid
autogenerating Python 2 dependency in sympy-examples (#1360766)
* Fri Jan 13 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.0-4
- Run tests in parallel
- Work around some broken tests