1
0

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
This commit is contained in:
Denisart Benjamin
2013-12-10 02:38:39 +00:00
committed by Git OBS Bridge
parent b0767b5501
commit 2f5ac8c80b
5 changed files with 13 additions and 15 deletions

View File

@@ -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