From 0d75c739f86db6eb353e039f386665de60d6d3d7 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Dec 27 2016 23:50:38 +0000 Subject: Update to 0.13.1. Fixes bug #1403399 Provide python2 version. Fixes bug #1399655 --- diff --git a/.gitignore b/.gitignore index c3a3e13..4860273 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/python-docutils.spec b/python-docutils.spec index 0fbe109..16ceeab 100644 --- a/python-docutils.spec +++ b/python-docutils.spec @@ -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 - 0.13.1-1 +- Update to 0.13.1. Fixes bug #1403399 +- Provide python2 version. Fixes bug #1399655 + * Fri Dec 09 2016 Charalampos Stratakis - 0.12-0.8.20140510svn7747 - Rebuild for Python 3.6 - Fix failing tests diff --git a/sources b/sources index 6310d4c..281b9f7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6f16c974006da27428a056baf6d5801a docutils-0.12.tar.gz +SHA512 (docutils-0.13.1.tar.gz) = 6a68b27dac3705ff532cb79d6b6808071206544a1c653e6a24d46971a5e10edffc7d275834eec4e80d948eb066bb099cae0195c0ab674e68747820e54f0ea64e