Update to 0.13.1. Fixes bug #1403399
Provide python2 version. Fixes bug #1399655
This commit is contained in:
parent
5c85656290
commit
0d75c739f8
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user