From a38c38393354c52669fec3b05f40f95aab7ddd17 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Sep 2015 19:14:39 +0200 Subject: [PATCH] Update to 0.23.1 (RHBZ #1266726) Signed-off-by: Igor Gnatenko --- .gitignore | 1 + python-pygit2.spec | 24 +++++++++--------------- sources | 2 +- 3 files changed, 11 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 67c4123..820fe1a 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /pygit2-0.21.4.tar.gz /pygit2-0.22.0.tar.gz /pygit2-0.22.1.tar.gz +/pygit2-0.23.1.tar.gz diff --git a/python-pygit2.spec b/python-pygit2.spec index 699f19f..04d5916 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -1,12 +1,11 @@ %global pkgname pygit2 -%global realver 0.22.1 Name: python-%{pkgname} -Version: 0.23.0 -Release: 0.1%{?dist} +Version: 0.23.1 +Release: 1%{?dist} Summary: Python 2.x bindings for libgit2 URL: http://www.pygit2.org -Source: http://pypi.python.org/packages/source/p/%{pkgname}/%{pkgname}-%{realver}.tar.gz +Source: http://pypi.python.org/packages/source/p/%{pkgname}/%{pkgname}-%{version}.tar.gz License: GPLv2 with linking exception BuildRequires: libgit2-devel BuildRequires: openssl-devel @@ -19,9 +18,6 @@ Requires: python-cffi Patch1: 0001-Remove-remote-calling-unit-tests.patch -# https://github.com/libgit2/pygit2/commit/81520c9c626e092bc45f9fc8ba138eefa4d1beb2 -Patch2: 0001-Update-to-libgit2-v0.23.patch - %description pygit2 is a set of Python bindings to the libgit2 library, which implements the core of Git. Pygit2 works with Python 2.7, 3.1, 3.2, 3.3, 3.4 and pypy. @@ -52,10 +48,7 @@ Documentation for %{name}. %prep -%setup -qn %{pkgname}-%{realver} - -%patch2 -p1 - +%setup -qn %{pkgname}-%{version} %patch1 -p1 rm -rf %{py3dir} @@ -91,24 +84,25 @@ popd %files %doc README.rst TODO.txt %license COPYING -%{python2_sitearch}/%{pkgname}-%{realver}-py%{python2_version}.egg-info +%{python2_sitearch}/%{pkgname}-%{version}-py%{python2_version}.egg-info %{python2_sitearch}/%{pkgname} %{python2_sitearch}/_%{pkgname}.so -%{python2_sitearch}/%{pkgname}_cffi_*.so %files -n python3-%{pkgname} %doc README.rst TODO.txt %license COPYING -%{python3_sitearch}/%{pkgname}-%{realver}-py%{python3_version}.egg-info +%{python3_sitearch}/%{pkgname}-%{version}-py%{python3_version}.egg-info %{python3_sitearch}/%{pkgname} %{python3_sitearch}/_%{pkgname}.*.so -%{python3_sitearch}/%{pkgname}_cffi_*.so %files doc %doc docs/_build/html/* %changelog +* Sun Sep 27 2015 Igor Gnatenko - 0.23.1-1 +- Update to 0.23.1 (RHBZ #1266726) + * Fri Jul 31 2015 Igor Gnatenko - 0.23.0-0.1 - Cherry-pick patch for 0.23.0 support diff --git a/sources b/sources index c58f94b..95d5cea 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a96462a623da8532c68d5bf4e2bd69b1 pygit2-0.22.1.tar.gz +d48aba904772dc3c2e4421f1d4ba7655 pygit2-0.23.1.tar.gz