forked from pool/python-Fabric
- (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
This commit is contained in:
committed by
Git OBS Bridge
parent
0f0e94851a
commit
decd69fc5d
@@ -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
|
||||
|
||||
|
@@ -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}/*
|
||||
|
||||
|
Reference in New Issue
Block a user