Fix a crash on parallel building. (rhbz#1494276)

This commit is contained in:
Charalampos Stratakis 2017-09-22 13:00:15 +02:00
commit 411dc9d6f4
2 changed files with 23 additions and 1 deletions

View file

@ -15,7 +15,7 @@
Name: python-sphinx
Version: 1.5.2
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Python documentation generator
Group: Development/Tools
@ -28,6 +28,13 @@ License: BSD and Public Domain and Python and (MIT or GPLv2)
URL: http://sphinx-doc.org/
Source0: https://files.pythonhosted.org/packages/source/S/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
# Backport of a bugfix from the 1.6 upstream branch of sphinx
# to address a crash with parallel building.
# https://bugzilla.redhat.com/show_bug.cgi?id=1494276
# Upstream commit:
# https://github.com/sphinx-doc/sphinx/pull/4039/commits/0cb57f19a099be2809a8fb5dc9274f7411e1caac
Patch0: fix-crash-on-parallel-build.patch
BuildArch: noarch
BuildRequires: python2-devel >= 2.4
BuildRequires: python2-babel
@ -567,6 +574,9 @@ fi
%changelog
* Fri Sep 22 2017 Charalampos Stratakis <cstratak@redhat.com> - 1.5.2-3
- Fix a crash on parallel build.
* Sat Feb 18 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.2-2
- Assign %%attrs to %%ghosted files so that rpm knows what permissions they
should have.