Переглянути джерело

python-sphinx: add Patch2 (inline-node-error-fix.patch)

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11625 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 7 роки тому
батько
коміт
e4c336e2e2
1 змінених файлів з 12 додано та 2 видалено
  1. 12 2
      p/python-sphinx/python-sphinx-vl.spec

+ 12 - 2
p/python-sphinx/python-sphinx-vl.spec

@@ -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