|
@@ -3,8 +3,8 @@
|
|
%global upstream_name Sphinx
|
|
%global upstream_name Sphinx
|
|
|
|
|
|
Name: python-sphinx
|
|
Name: python-sphinx
|
|
-Version: 1.0.7
|
|
|
|
-Release: 2%{?_dist_release}
|
|
|
|
|
|
+Version: 1.1.3
|
|
|
|
+Release: 1%{?_dist_release}
|
|
Summary: Python documentation generator
|
|
Summary: Python documentation generator
|
|
|
|
|
|
Group: Development/Tools
|
|
Group: Development/Tools
|
|
@@ -16,24 +16,27 @@ Group: Development/Tools
|
|
License: BSD and Public Domain and Python and (MIT or GPLv2)
|
|
License: BSD and Public Domain and Python and (MIT or GPLv2)
|
|
URL: http://sphinx.pocoo.org/
|
|
URL: http://sphinx.pocoo.org/
|
|
Source0: http://pypi.python.org/packages/source/S/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
|
|
Source0: http://pypi.python.org/packages/source/S/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
|
|
|
|
+Patch1: Sphinx-1.1.3-fix_quoting_in_inheritance.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
BuildArch: noarch
|
|
BuildArch: noarch
|
|
BuildRequires: python-devel >= 2.4
|
|
BuildRequires: python-devel >= 2.4
|
|
BuildRequires: python-setuptools
|
|
BuildRequires: python-setuptools
|
|
-%if %{?_dist_release} == "vl5"
|
|
|
|
-BuildRequires: python-simplejson
|
|
|
|
-BuildRequires: docutils
|
|
|
|
-%else
|
|
|
|
|
|
+
|
|
|
|
+#%if %{?_dist_release} == "vl5"
|
|
|
|
+#BuildRequires: python-simplejson
|
|
|
|
+#BuildRequires: docutils
|
|
|
|
+#%else
|
|
BuildRequires: python-docutils
|
|
BuildRequires: python-docutils
|
|
-%endif
|
|
|
|
|
|
+#%endif
|
|
|
|
+
|
|
BuildRequires: python-jinja2
|
|
BuildRequires: python-jinja2
|
|
BuildRequires: python-nose
|
|
BuildRequires: python-nose
|
|
-%if %{?_dist_release} == "vl5"
|
|
|
|
-Requires: docutils
|
|
|
|
-%else
|
|
|
|
|
|
+#%if %{?_dist_release} == "vl5"
|
|
|
|
+#Requires: docutils
|
|
|
|
+#%else
|
|
Requires: python-docutils
|
|
Requires: python-docutils
|
|
-%endif
|
|
|
|
|
|
+#%endif
|
|
Requires: python-jinja2
|
|
Requires: python-jinja2
|
|
Requires: python-pygments
|
|
Requires: python-pygments
|
|
|
|
|
|
@@ -90,6 +93,7 @@ This package contains documentation in reST and HTML formats.
|
|
%prep
|
|
%prep
|
|
%setup -q -n %{upstream_name}-%{version}
|
|
%setup -q -n %{upstream_name}-%{version}
|
|
%__sed '1d' -i sphinx/pycode/pgen2/token.py
|
|
%__sed '1d' -i sphinx/pycode/pgen2/token.py
|
|
|
|
+%patch1 -p1
|
|
|
|
|
|
%build
|
|
%build
|
|
%{__python} setup.py build
|
|
%{__python} setup.py build
|
|
@@ -163,6 +167,9 @@ popd
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Jun 30 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.1.3-1
|
|
|
|
+- new upstream release
|
|
|
|
+
|
|
* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-2
|
|
* Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-2
|
|
- rebuild with python-2.7.2
|
|
- rebuild with python-2.7.2
|
|
|
|
|