[python-simplemediawiki/el6/master] python-sphinx10 is not available in EL-6, so don't build docs for now.

Luke Macken lmacken at fedoraproject.org
Mon Feb 28 23:03:12 UTC 2011


commit 7f31f5c9a102eb41d8adffd8e25ba4e5f30a30c5
Author: Luke Macken <lmacken at redhat.com>
Date:   Mon Feb 28 18:02:02 2011 -0500

    python-sphinx10 is not available in EL-6, so don't build docs for now.

 python-simplemediawiki-sphinx10.patch |   16 ----------------
 python-simplemediawiki.spec           |   15 ++-------------
 2 files changed, 2 insertions(+), 29 deletions(-)
---
diff --git a/python-simplemediawiki.spec b/python-simplemediawiki.spec
index ea17670..c9a0499 100644
--- a/python-simplemediawiki.spec
+++ b/python-simplemediawiki.spec
@@ -13,18 +13,10 @@ Group:          Development/Libraries
 License:        LGPLv2+
 URL:            https://github.com/ianweller/python-simplemediawiki
 Source0:        http://pypi.python.org/packages/source/s/%{tarball_name}/%{tarball_name}-%{version}.tar.gz
-Patch0:         %{name}-sphinx10.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 BuildRequires:  python-devel python-iso8601 python-simplejson
-
-%if 0%{?fedora} < 14 || 0%{?rhel} >= 5
-BuildRequires:  python-sphinx10
-%else
-BuildRequires:  python-sphinx
-%endif
-
 Requires:       python-iso8601
 Requires:       python-simplejson
 
@@ -36,10 +28,9 @@ few functions to make day-to-day API access easier.
 
 %prep
 %setup -qn %{tarball_name}-%{version}
-%patch0 -b .sphinx10
 
 %build
-%{__python} setup.py build build_sphinx
+%{__python} setup.py build
 
 %install
 rm -rf %{buildroot}
@@ -50,7 +41,7 @@ rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root)
-%doc COPYING PKG-INFO README build/sphinx/html
+%doc COPYING PKG-INFO README
 %{python_sitelib}/*
 
 %changelog
@@ -58,8 +49,6 @@ rm -rf %{buildroot}
 - Update to 1.1 (#678398)
 - Require python-simplejson
 - Include the README
-- Build the HTML documentation
-- Apply a patch to use Sphinx 1.0 on RHEL5/6 and F13
 
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild


More information about the scm-commits mailing list