From decd69fc5d16aa1421dcf67dea042552c60f41b3323711fcaed9e2feada59837 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 10 Dec 2012 08:49:36 +0000 Subject: [PATCH] - (Build)require python-paramiko instead of python-ssh, upstream deps changed - Build and install HTML documentation OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Fabric?expand=0&rev=32 --- python-Fabric.changes | 7 +++++++ python-Fabric.spec | 13 ++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/python-Fabric.changes b/python-Fabric.changes index b38d3b4..e431056 100644 --- a/python-Fabric.changes +++ b/python-Fabric.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Dec 1 15:34:25 UTC 2012 - saschpe@suse.de + +- (Build)require python-paramiko instead of python-ssh, upstream deps + changed +- Build and install HTML documentation + ------------------------------------------------------------------- Fri Nov 16 11:30:26 UTC 2012 - alexandre@exatati.com.br diff --git a/python-Fabric.spec b/python-Fabric.spec index fa0bb5f..6bd1f7a 100644 --- a/python-Fabric.spec +++ b/python-Fabric.spec @@ -26,10 +26,15 @@ Url: http://fabfile.org Source: Fabric-%{version}.tar.bz2 BuildRequires: python-devel BuildRequires: python-distribute +# Test requirements: +#TODO: Disabled due to errors / fudge requirement #BuildRequires: python-fudge -#BuildRequires: python-ssh +#BuildRequires: python-nose +#BuildRequires: python-paramiko >= 1.9.0 +# Documentation requirements: +BuildRequires: python-Sphinx Requires: python-distribute -Requires: python-ssh +Requires: python-paramiko >= 1.9.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -75,9 +80,11 @@ Fabric itself leverages.) %prep %setup -q -n Fabric-%{version} +#sed -i "s|fudge<1.0|fudge|" setup.py # Try testing with newer fudge %build python setup.py build +sphinx-build -b html docs html && rm -r html/{.buildinfo,.doctrees} %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} @@ -87,7 +94,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %files %defattr(-,root,root,-) -%doc AUTHORS LICENSE README.rst +%doc AUTHORS LICENSE README.rst html %{_bindir}/fab %{python_sitelib}/*