From 7ca7e833035234dcd61fee96ad95f4d992b2b18a4a26af2ed332c5b449a06b04 Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Tue, 3 Feb 2015 16:09:25 +0000
Subject: [PATCH] Accepting request 283921 from home:dimstar:Factory
update to 0.22.0
OBS-URL: https://build.opensuse.org/request/show/283921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=23
---
pygit2-0.21.2.tar.gz | 3 ---
pygit2-0.22.0.tar.gz | 3 +++
python-pygit2.changes | 31 +++++++++++++++++++++++++++++++
python-pygit2.spec | 5 +++--
4 files changed, 37 insertions(+), 5 deletions(-)
delete mode 100644 pygit2-0.21.2.tar.gz
create mode 100644 pygit2-0.22.0.tar.gz
diff --git a/pygit2-0.21.2.tar.gz b/pygit2-0.21.2.tar.gz
deleted file mode 100644
index 7f40b01..0000000
--- a/pygit2-0.21.2.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:2cfed1d967419e6cfabe5ad02a03a2e0d7b715aac896b23277c59316d226ca53
-size 416612
diff --git a/pygit2-0.22.0.tar.gz b/pygit2-0.22.0.tar.gz
new file mode 100644
index 0000000..2a4c295
--- /dev/null
+++ b/pygit2-0.22.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d67045c8f6d6e8c23fc2bb6ba51f084177c7b7617c42bc433c6fec5ac0bf42e4
+size 423840
diff --git a/python-pygit2.changes b/python-pygit2.changes
index a1c78a8..2c94a7c 100644
--- a/python-pygit2.changes
+++ b/python-pygit2.changes
@@ -1,3 +1,34 @@
+-------------------------------------------------------------------
+Tue Feb 3 15:06:02 UTC 2015 - dimstar@opensuse.org
+
+- Update to version 0.22.0:
+ + Update to libgit2 v0.22
+ (https://github.com/libgit2/pygit2/pull/459)
+ + Add support for libgit2 feature detection (new pygit2.features
+ and pygit2.GIT_FEATURE_*)
+ (https://github.com/libgit2/pygit2/pull/475)
+ + New Repository.remotes (RemoteCollection)
+ (https://github.com/libgit2/pygit2/pull/447)
+ + API Changes:
+ - Prototype of clone_repository changed, check documentation
+ - Removed clone_into, use clone_repository with callbacks instead
+ - Use Repository.remotes.rename(name, new_name) instead of
+ Remote.rename(new_name)
+ - Use Repository.remotes.delete(name) instead of Remote.delete()
+ - Now Remote.push(...) takes a list of refspecs instead of just one
+ - Change Patch.old_id, Patch.new_id, Note.annotated_id,
+ RefLogEntry.oid_old and RefLogEntry.oid_new to be Oid objects
+ instead of strings
+ (https://github.com/libgit2/pygit2/pull/449)
+ + Other:
+ - Fix init_repository when passing optional parameters
+ workdir_path, description, template_path, initial_head or
+ origin_url.
+ - Fix use-after-free when patch outlives diff.
+ - Documentation improvements.
+ - Make the GPL exception explicit in setup.py.
+- Add python-setuptools BuildRequires: new build dependency.
+
-------------------------------------------------------------------
Tue Sep 2 18:20:17 UTC 2014 - p.drouand@gmail.com
diff --git a/python-pygit2.spec b/python-pygit2.spec
index f965f3d..f3372db 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-pygit2
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: python-pygit2
-Version: 0.21.2
+Version: 0.22.0
Release: 0
Url: http://github.com/dborowitz/pygit2
Summary: Python bindings for libgit2
@@ -30,6 +30,7 @@ BuildRequires: python-cffi
BuildRequires: python-devel
#BuildRequires: python-unittest2
BuildRequires: libopenssl-devel
+BuildRequires: python-setuptools
Requires: python-cffi
%description