|
@@ -4,7 +4,7 @@
|
|
|
|
|
|
Name: python-sphinx
|
|
|
Version: 1.1.3
|
|
|
-Release: 2%{?_dist_release}
|
|
|
+Release: 3%{?_dist_release}
|
|
|
Summary: Python documentation generator
|
|
|
|
|
|
Group: Development/Tools
|
|
@@ -19,6 +19,12 @@ Source0: http://pypi.python.org/packages/source/S/%{upstream_name}/%{upstream
|
|
|
Patch0: sphinx-docutils-0.10.patch
|
|
|
Patch1: Sphinx-1.1.3-fix_quoting_in_inheritance.patch
|
|
|
|
|
|
+# Add missing "meta" and "inline" node visitors for the manpage writer
|
|
|
+# which fixes some exception errors when building docs.
|
|
|
+# https://github.com/sphinx-doc/sphinx/commit/0ef7a0a7a36b0c653e535bca77c08027f1a720a8
|
|
|
+# https://bugzilla.redhat.com/show_bug.cgi?id=1291573
|
|
|
+Patch2: inline-node-error-fix.patch
|
|
|
+
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
BuildArch: noarch
|
|
|
BuildRequires: python-devel >= 2.4
|
|
@@ -96,6 +102,7 @@ This package contains documentation in reST and HTML formats.
|
|
|
%__sed '1d' -i sphinx/pycode/pgen2/token.py
|
|
|
%patch0 -p1
|
|
|
%patch1 -p1
|
|
|
+%patch2 -p1
|
|
|
|
|
|
%build
|
|
|
%{__python} setup.py build
|
|
@@ -169,7 +176,10 @@ popd
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
-* Fri Jul 3 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.3-2
|
|
|
+* Wed May 09 2018 Toshiaki Ara <ara_t@384.jp> 1.1.3-3
|
|
|
+- added patch2 from RedHat
|
|
|
+
|
|
|
+* Thu Jul 2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.1.3-2
|
|
|
- added patch0.
|
|
|
|
|
|
* Sun Jun 30 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.3-1
|