[python-dulwich/el6] disable docs becaue of sphinx theme error

Fabian Affolter fab at fedoraproject.org
Mon Mar 23 22:36:28 UTC 2015


commit b8e2539d00f9e1c8cea1e444f9f5fe3eadef5240
Author: Fabian Affolter <fabian at affolter-engineering.ch>
Date:   Mon Mar 23 23:36:03 2015 +0100

    disable docs becaue of sphinx theme error

 python-dulwich.spec | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/python-dulwich.spec b/python-dulwich.spec
index 544c28f..cc6914d 100644
--- a/python-dulwich.spec
+++ b/python-dulwich.spec
@@ -21,7 +21,7 @@ Source0:        https://pypi.python.org/packages/source/d/%{srcname}/%{srcname}-
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
 BuildRequires:  python-nose
-BuildRequires:  python-sphinx
+#BuildRequires:  python-sphinx
 
 %if 0%{?rhel} < 7 || 0%{?fedora} < 14
 BuildRequires:  python-unittest2
@@ -38,24 +38,24 @@ rm -rf %{srcname}.egg-info
 
 %build
 CFLAGS="%{optflags}" %{__python} setup.py build
-pushd docs
+#pushd docs
 # Not using {smp_flags} as sphinx fails with it from time to time
-make html
-popd
+#make html
+#popd
 
 %install
 %{__python} setup.py install --skip-build --root %{buildroot}
 # Remove extra copy of text docs
-rm -rf docs/build/html/_sources
-rm -f docs/build/html/{.buildinfo,objects.inv}
-rm -rf %{buildroot}%{python_sitearch}/docs/tutorial/
+#rm -rf docs/build/html/_sources
+#rm -f docs/build/html/{.buildinfo,objects.inv}
+#rm -rf %{buildroot}%{python_sitearch}/docs/tutorial/
 
 #%check
 #cd dulwich/tests
 #nosetests test*.py
 
 %files
-%doc AUTHORS COPYING HACKING NEWS README.md docs/build/html
+%doc AUTHORS COPYING HACKING NEWS README.md
 %{_bindir}/dul-*
 %{_bindir}/%{srcname}
 %{python_sitearch}/%{srcname}*


More information about the scm-commits mailing list