From b2393d5d293e2f1fd1e37d82e873c8418920677b Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Mon, 20 Jul 2015 20:20:38 +0700 Subject: [PATCH] Fix line encoding of bundled jquery.js --- python-sphinx.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/python-sphinx.spec b/python-sphinx.spec index 1e773aa..c8d3322 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -9,7 +9,7 @@ Name: python-sphinx Version: 1.2.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python documentation generator Group: Development/Tools @@ -31,6 +31,9 @@ BuildRequires: python-docutils BuildRequires: python-jinja2 BuildRequires: python-pygments +# for fixes +BuildRequires: dos2unix + # for testing BuildRequires: python-nose BuildRequires: gettext @@ -218,6 +221,9 @@ This package contains documentation in reST and HTML formats. %patch1 -p1 sed '1d' -i sphinx/pycode/pgen2/token.py +# fix line encoding of bundled jquery.js +dos2unix -k ./sphinx/themes/basic/static/jquery.js + %if 0%{?with_python3} rm -rf %{py3dir} cp -a . %{py3dir} @@ -350,6 +356,9 @@ popd %changelog +* Mon Jul 20 2015 Michel Alexandre Salim - 1.2.3-3 +- Fix line encoding of bundled jquery.js + * Mon Jul 20 2015 Michel Alexandre Salim - 1.2.3-2 - Re-introduce LaTeX subpackage, solely for pulling in LaTeX dependencies