Patch for sphinx api change

This commit is contained in:
Steve Milner 2018-03-19 13:11:14 -04:00
parent ba38cba051
commit d1e39a9ab3
3 changed files with 8 additions and 2 deletions

1
.gitignore vendored
View File

@ -5,3 +5,4 @@ Pygments-1.3.1.tar.gz
/fix-shell-injection-in-font-manager.patch
/Pygments-2.1.3.tar.gz
/Pygments-2.2.0.tar.gz
/import-directive.patch

View File

@ -8,13 +8,13 @@
Name: python-pygments
Version: 2.2.0
Release: 10%{?dist}
Release: 11%{?dist}
Summary: %{sum}
License: BSD
URL: http://pygments.org/
Source0: https://pypi.org/packages/source/P/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
Patch0: import-directive.patch
BuildArch: noarch
%description
@ -78,6 +78,7 @@ need to prettify source code. Highlights are:
%prep
%setup -q -n %{upstream_name}-%{version}
%patch0 -p 1
%build
%{__sed} -i 's/\r//' LICENSE
@ -128,6 +129,9 @@ make test || :
%endif
%changelog
* Mon Mar 19 2018 Steve Milner <smilner@redhat.com> - 2.2.0-11
- Added import-directive.patch to work around a change in sphinx.
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

View File

@ -1 +1,2 @@
SHA512 (import-directive.patch) = a0ee6528a0a4ceba43c271bee25605f09729765c0cfbda73e70db4df107281bc0f59dc204796ef0cdb1369f156c44b3cfd103d7c6512dc38bd288a84b452e564
SHA512 (Pygments-2.2.0.tar.gz) = cc0a4f73e19fa6cbf46314de2e809460c807c631e39ba05cbe5edb5f40db1a687aafcd9715585a0ed45f791710eb6038305e273f282f8682df76f30e63710b29