Update to 0.13.1. Fixes bug #1403399

Provide python2 version. Fixes bug #1399655
This commit is contained in:
Kevin Fenzi 2016-12-27 16:50:38 -07:00
parent 5c85656290
commit 0d75c739f8
3 changed files with 9 additions and 8 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ docutils-0.7.tar.gz
/docutils-0.10.tar.gz
/docutils-0.11.tar.gz
/docutils-0.12.tar.gz
/docutils-0.13.1.tar.gz

View File

@ -10,8 +10,8 @@
%global srcname docutils
Name: python-%{srcname}
Version: 0.12
Release: 0.8.20140510svn7747%{?dist}
Version: 0.13.1
Release: 1%{?dist}
Summary: System for processing plaintext documentation
Group: Development/Languages
@ -26,10 +26,6 @@ URL: http://docutils.sourceforge.net
# The tarball is in dist/docutils-VERSION.tar.gz
Source0: %{srcname}-%{version}.tar.gz
# Patch to fix failing tests
# Merged upstream: https://sourceforge.net/p/docutils/patches/131/
Patch0: fix-failing-tests.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@ -42,6 +38,7 @@ BuildRequires: python-tools
Provides: docutils = %{version}-%{release}
Obsoletes: docutils < %{version}-%{release}
%{?python_provide:%python_provide python2-docutils}
%description
The Docutils project specifies a plaintext markup language, reStructuredText,
@ -75,7 +72,6 @@ This package contains the module, ported to run under python3.
%prep
%setup -q -n %{srcname}-%{version}
%patch0 -p1
# Remove shebang from library files
for file in docutils/utils/{code_analyzer.py,punctuation_chars.py,error_reporting.py,smartquotes.py} docutils/utils/math/{latex2mathml.py,math2html.py} docutils/writers/xetex/__init__.py; do
@ -163,6 +159,10 @@ rm -rf %{buildroot}
%endif
%changelog
* Tue Dec 27 2016 Kevin Fenzi <kevin@scrye.com> - 0.13.1-1
- Update to 0.13.1. Fixes bug #1403399
- Provide python2 version. Fixes bug #1399655
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 0.12-0.8.20140510svn7747
- Rebuild for Python 3.6
- Fix failing tests

View File

@ -1 +1 @@
6f16c974006da27428a056baf6d5801a docutils-0.12.tar.gz
SHA512 (docutils-0.13.1.tar.gz) = 6a68b27dac3705ff532cb79d6b6808071206544a1c653e6a24d46971a5e10edffc7d275834eec4e80d948eb066bb099cae0195c0ab674e68747820e54f0ea64e