diff --git a/sympy.spec b/sympy.spec index 1d22f8e..583e5e7 100644 --- a/sympy.spec +++ b/sympy.spec @@ -80,10 +80,10 @@ cp -a data/TeXmacs/progs %{buildroot}%{_datadir}/TeXmacs/plugins/sympy chmod a-x examples/all.py # Install the HTML documentation -mkdir -p %{buildroot}%{_docdir}/%{name}-doc-%{version} -cp -a doc/_build/html %{buildroot}%{_docdir}/%{name}-doc-%{version} -rm -f %{buildroot}%{_docdir}/%{name}-doc-%{version}/html/.buildinfo -rm -fr %{buildroot}%{_docdir}/%{name}-doc-%{version}/i18n +mkdir -p %{buildroot}%{_docdir}/%{name}-doc +cp -a doc/_build/html %{buildroot}%{_docdir}/%{name}-doc +rm -f %{buildroot}%{_docdir}/%{name}-doc/html/.buildinfo +rm -fr %{buildroot}%{_docdir}/%{name}-doc/i18n %check python setup.py test @@ -104,8 +104,8 @@ python setup.py test %doc examples %files doc -%docdir %{_docdir}/%{name}-doc-%{version}/html -%{_docdir}/%{name}-doc-%{version}/html +%docdir %{_docdir}/%{name}-doc/html +%{_docdir}/%{name}-doc/html %changelog * Fri Aug 2 2013 Jerry James - 0.7.3-1 @@ -113,6 +113,7 @@ python setup.py test - Upstream dropped all tutorial translations - Add graphviz BR for documentation - Sources now distributed from github instead of googlecode +- Adapt to versionless _docdir in Rawhide * Mon Jun 17 2013 Jerry James - 0.7.2-1 - Update to 0.7.2 (bz 866044)