From 232419b5a047e68b19efbc7af1e648243be58ca9c95aaaa8eb23e932e9a0c4b6 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 10 Dec 2012 16:18:54 +0000 Subject: [PATCH] Use build_sphinx command OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Fabric?expand=0&rev=34 --- python-Fabric.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python-Fabric.spec b/python-Fabric.spec index 6bd1f7a..47fc216 100644 --- a/python-Fabric.spec +++ b/python-Fabric.spec @@ -30,9 +30,9 @@ BuildRequires: python-distribute #TODO: Disabled due to errors / fudge requirement #BuildRequires: python-fudge #BuildRequires: python-nose -#BuildRequires: python-paramiko >= 1.9.0 # Documentation requirements: BuildRequires: python-Sphinx +BuildRequires: python-paramiko >= 1.9.0 Requires: python-distribute Requires: python-paramiko >= 1.9.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -84,7 +84,7 @@ Fabric itself leverages.) %build python setup.py build -sphinx-build -b html docs html && rm -r html/{.buildinfo,.doctrees} +python setup.py build_sphinx && rm -r build/sphinx/html/.buildinfo %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} @@ -94,7 +94,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) -%doc AUTHORS LICENSE README.rst html +%doc AUTHORS LICENSE README.rst build/sphinx/html %{_bindir}/fab %{python_sitelib}/*