14
0
forked from pool/python-Sphinx

Accepting request 182659 from home:dirkmueller:branches:devel:languages:python

- add sphinx-docutils-0.10.patch:
  * add support for docutils 0.10

OBS-URL: https://build.opensuse.org/request/show/182659
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=32
This commit is contained in:
Sascha Peilicke
2013-07-11 15:02:12 +00:00
committed by Git OBS Bridge
parent bab92b73ae
commit ed4b10d16c
3 changed files with 36 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ Summary: Python documentation generator
License: BSD-2-Clause
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
Patch0: sphinx-docutils-0.10.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
@@ -79,6 +80,7 @@ and translating suite, the Docutils.
%prep
%setup -q -n Sphinx-%{version}
%patch0 -p1
sed -i '/#\!/d' sphinx/pycode/pgen2/token.py # Fix non-excutable-script warning
# Add Interpreter version suffix to entrypoints (and thus /usr/bin binaries) to
# allow for update-alternatives later on: