From e148289a20c9eab75438388cf89c4b439228df4d Mon Sep 17 00:00:00 2001 From: Mathieu Bridon Date: Aug 12 2014 11:46:10 +0000 Subject: Update to 0.21.2 --- diff --git a/.gitignore b/.gitignore index 0f7a951..3414d8e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /pygit2-0.20.3.tar.gz /pygit2-0.21.0.tar.gz /pygit2-0.21.1.tar.gz +/pygit2-0.21.2.tar.gz diff --git a/0001-Fix-syntax-error.patch b/0001-Fix-syntax-error.patch new file mode 100644 index 0000000..c689315 --- /dev/null +++ b/0001-Fix-syntax-error.patch @@ -0,0 +1,23 @@ +From 309a844793a56a7a71f075e841faa75d5b17a192 Mon Sep 17 00:00:00 2001 +From: Mathieu Bridon +Date: Tue, 12 Aug 2014 11:24:03 +0200 +Subject: [PATCH] Fix syntax error + +https://github.com/libgit2/pygit2/pull/401 +--- + pygit2/py2.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pygit2/py2.py b/pygit2/py2.py +index 3c57fba..a2d2359 100644 +--- a/pygit2/py2.py ++++ b/pygit2/py2.py +@@ -54,4 +54,4 @@ def to_str(s): + if type(s) is unicode: + return s.encode() + +- raise TypeError, 'unexpected type "%s"' % repr(s) ++ raise TypeError('unexpected type "%s"' % repr(s)) +-- +1.9.3 + diff --git a/python-pygit2.spec b/python-pygit2.spec index 5cae367..b09d82b 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -6,7 +6,7 @@ %endif Name: python-%{pkgname} -Version: 0.21.1 +Version: 0.21.2 Release: 1%{?dist} Summary: Python 2.x bindings for libgit2 URL: http://www.pygit2.org @@ -20,6 +20,7 @@ BuildRequires: python-nose BuildRequires: python-setuptools Patch0: 0001-Remove-remote-calling-unit-tests.patch +Patch1: 0001-Fix-syntax-error.patch %description pygit2 is a set of Python bindings to the libgit2 library, which implements @@ -52,6 +53,7 @@ Documentation for %{name}. %setup -qn %{pkgname}-%{version} %patch0 -p1 +%patch1 -p1 rm -rf %{py3dir} cp -a . %{py3dir} @@ -102,6 +104,9 @@ popd %changelog +* Tue Aug 12 2014 Mathieu Bridon - 0.21.2-1 +- Update to 0.21.2 + * Tue Jul 29 2014 Mathieu Bridon - 0.21.1-1 - Update to 0.21.1 diff --git a/sources b/sources index 3620caa..e1bb6c3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b8ba74d268a3b9c7d2cfa6305f570f92 pygit2-0.21.1.tar.gz +bcb35b873e70628ad1c8f72cb137f310 pygit2-0.21.2.tar.gz