Patch for one of the HTML test suite's expected warnings on RHEL6

BR on texlive-latex for LaTeX tests
This commit is contained in:
Michel Alexandre Salim 2011-12-17 15:27:46 +01:00
commit c3dad84138
2 changed files with 20 additions and 1 deletions

View file

@ -18,6 +18,8 @@ Group: Development/Tools
License: BSD and Public Domain and Python and (MIT or GPLv2)
URL: http://sphinx.pocoo.org/
Source0: http://pypi.python.org/packages/source/S/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
# on RHEL6, one of the HTML warnings is slightly different
Patch0: %{upstream_name}-1.0.8-el6-htmltest-fixwarning.patch
BuildArch: noarch
BuildRequires: python2-devel >= 2.4
@ -25,6 +27,8 @@ BuildRequires: python-setuptools
BuildRequires: python-docutils
BuildRequires: python-jinja2
BuildRequires: python-nose
# Test dependencies
BuildRequires: texlive-latex
Requires: python-docutils
Requires: python-jinja2
Requires: python-pygments
@ -79,6 +83,9 @@ This package contains documentation in reST and HTML formats.
%prep
%setup -q -n %{upstream_name}-%{version}%{?prerel}
%if 0%{?el6}
%patch0 -p1 -b .el6-htmltest-fixwarning
%endif
sed '1d' -i sphinx/pycode/pgen2/token.py
%build
@ -152,8 +159,9 @@ make test
%changelog
* Thu Dec 8 2011 Michel Salim <salimma@fedoraproject.org> - 1.0.8-1
* Sat Dec 17 2011 Michel Salim <salimma@fedoraproject.org> - 1.0.8-1
- Update to upstream 1.0.8
- BR on texlive-latex for LaTeX tests
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild