From 2f5ac8c80b5806e61824da61c27104997a0b3d74076988888c32d8e60a4e4bcf Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Tue, 10 Dec 2013 02:38:39 +0000
Subject: [PATCH] Accepting request 210102 from
home:posophe:branches:devel:languages:python
- Update to version 0.20.0
+ Upstream provides no changelog, but you can check
https://github.com/libgit2/pygit2/compare/v0.19.0...v0.20.0
- Fix build on openSUSE >= 12.3 and SLE11SP3
- Remove obsolete conditionnal macros
OBS-URL: https://build.opensuse.org/request/show/210102
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=11
---
pygit2-0.17.3.tar.gz | 3 ---
pygit2-0.19.0.tar.gz | 3 ---
pygit2-0.20.0.tar.gz | 3 +++
python-pygit2.changes | 9 +++++++++
python-pygit2.spec | 10 +---------
5 files changed, 13 insertions(+), 15 deletions(-)
delete mode 100644 pygit2-0.17.3.tar.gz
delete mode 100644 pygit2-0.19.0.tar.gz
create mode 100644 pygit2-0.20.0.tar.gz
diff --git a/pygit2-0.17.3.tar.gz b/pygit2-0.17.3.tar.gz
deleted file mode 100644
index b7b34d9..0000000
--- a/pygit2-0.17.3.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:5868d113191945bf7637ca786209b631a85c990876f4d7a1bf0b49b5afe9b36e
-size 73951
diff --git a/pygit2-0.19.0.tar.gz b/pygit2-0.19.0.tar.gz
deleted file mode 100644
index d64e340..0000000
--- a/pygit2-0.19.0.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:d98700e5850fb5ccbca71a45c3e73af54a64c634ac6595d4920fabb1799d228d
-size 108682
diff --git a/pygit2-0.20.0.tar.gz b/pygit2-0.20.0.tar.gz
new file mode 100644
index 0000000..0f468d1
--- /dev/null
+++ b/pygit2-0.20.0.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:800c687a685abe6c963064bbdbe69f3d65a4fe5c43dae3e7c16722bb0e162310
+size 113474
diff --git a/python-pygit2.changes b/python-pygit2.changes
index 8402918..68990a4 100644
--- a/python-pygit2.changes
+++ b/python-pygit2.changes
@@ -1,3 +1,12 @@
+-------------------------------------------------------------------
+Mon Dec 9 13:31:12 UTC 2013 - p.drouand@gmail.com
+
+- Update to version 0.20.0
+ + Upstream provides no changelog, but you can check
+ https://github.com/libgit2/pygit2/compare/v0.19.0...v0.20.0
+- Fix build on openSUSE >= 12.3 and SLE11SP3
+- Remove obsolete conditionnal macros
+
-------------------------------------------------------------------
Sun Aug 18 13:24:03 UTC 2013 - toddrme2178@gmail.com
diff --git a/python-pygit2.spec b/python-pygit2.spec
index 65a6182..d504147 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -17,11 +17,7 @@
Name: python-pygit2
-%if 0%{?suse_version} >= 1230 || 0%{?sles_version} >= 11
-Version: 0.19.0
-%else
-Version: 0.17.3
-%endif
+Version: 0.20.0
Release: 0
Url: http://github.com/dborowitz/pygit2
Summary: Python bindings for libgit2
@@ -31,11 +27,7 @@ Source: http://pypi.python.org/packages/source/p/pygit2/pygit2-%{version
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libgit2-devel
BuildRequires: python-devel
-%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
-BuildRequires: openssl-devel
-%else
BuildRequires: libopenssl-devel
-%endif
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%endif