forked from pool/python-Fabric
Use build_sphinx command
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Fabric?expand=0&rev=34
This commit is contained in:
committed by
Git OBS Bridge
parent
decd69fc5d
commit
232419b5a0
@@ -30,9 +30,9 @@ BuildRequires: python-distribute
|
|||||||
#TODO: Disabled due to errors / fudge requirement
|
#TODO: Disabled due to errors / fudge requirement
|
||||||
#BuildRequires: python-fudge
|
#BuildRequires: python-fudge
|
||||||
#BuildRequires: python-nose
|
#BuildRequires: python-nose
|
||||||
#BuildRequires: python-paramiko >= 1.9.0
|
|
||||||
# Documentation requirements:
|
# Documentation requirements:
|
||||||
BuildRequires: python-Sphinx
|
BuildRequires: python-Sphinx
|
||||||
|
BuildRequires: python-paramiko >= 1.9.0
|
||||||
Requires: python-distribute
|
Requires: python-distribute
|
||||||
Requires: python-paramiko >= 1.9.0
|
Requires: python-paramiko >= 1.9.0
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@@ -84,7 +84,7 @@ Fabric itself leverages.)
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py 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
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
@@ -94,7 +94,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS LICENSE README.rst html
|
%doc AUTHORS LICENSE README.rst build/sphinx/html
|
||||||
%{_bindir}/fab
|
%{_bindir}/fab
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user