Sascha Peilicke 2013-09-16 13:40:02 +00:00 committed by Git OBS Bridge
parent 933f53a54b
commit 40ddee7c63

View File

@ -101,12 +101,6 @@ for M in all apidoc build quickstart ; do
ln -s %{_mandir}/man1/sphinx-$M-%{py_ver}.1 %{buildroot}%{_mandir}/man1/sphinx-$M.1
done
%find_lang sphinx
# Create extensions module. Extensions usually create subdirectories with an
# __init__.py file there (and hence are importable python modules). But some
# install a single *.py file into that dir and assume it's already a Python
# module.
install -d %{buildroot}%{python_sitelib}/sphinxcontrib
touch %{buildroot}%{python_sitelib}/sphinxcontrib/__init__.py
%check
nosetests
@ -160,7 +154,6 @@ fi
%ghost %{_mandir}/man1/sphinx-quickstart.1.gz
%{_mandir}/man1/sphinx-quickstart-%{py_ver}.1.gz
%{python_sitelib}/sphinx/
%{python_sitelib}/sphinxcontrib/
%{python_sitelib}/Sphinx-%{version}-py%{py_ver}.egg-info
%files doc