diff --git a/python-mpmath.spec b/python-mpmath.spec index 8ea4b0e..7a8a945 100644 --- a/python-mpmath.spec +++ b/python-mpmath.spec @@ -77,7 +77,7 @@ This package contains the HTML documentation for %{name}. %prep %setup -q -n mpmath-%{version} # Convert line encodings -for doc in LICENSE CHANGES PKG-INFO README.rst mpmath/tests/runtests.py; do +for doc in CHANGES LICENSE README.rst TODO mpmath/tests/runtests.py; do sed "s|\r||g" $doc > $doc.new && \ touch -r $doc $doc.new && \ mv $doc.new $doc @@ -115,13 +115,13 @@ python3 runtests.py %files -n python2-mpmath %defattr(-,root,root,-) -%doc CHANGES LICENSE PKG-INFO README.rst +%doc CHANGES LICENSE README.rst TODO %{python_sitelib}/mpmath/ %{python_sitelib}/mpmath-%{version}-*.egg-info %if 0%{?with_python3} %files -n python3-mpmath -%doc CHANGES LICENSE PKG-INFO README.rst +%doc CHANGES LICENSE README.rst TODO %{python3_sitelib}/mpmath/ %{python3_sitelib}/mpmath-%{version}-*.egg-info %endif # with _python3