Update to 0.23.1 (RHBZ #1266726)

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
Igor Gnatenko 2015-09-27 19:14:39 +02:00
parent 682256b811
commit a38c383933
3 changed files with 11 additions and 16 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@
/pygit2-0.21.4.tar.gz /pygit2-0.21.4.tar.gz
/pygit2-0.22.0.tar.gz /pygit2-0.22.0.tar.gz
/pygit2-0.22.1.tar.gz /pygit2-0.22.1.tar.gz
/pygit2-0.23.1.tar.gz

View File

@ -1,12 +1,11 @@
%global pkgname pygit2 %global pkgname pygit2
%global realver 0.22.1
Name: python-%{pkgname} Name: python-%{pkgname}
Version: 0.23.0 Version: 0.23.1
Release: 0.1%{?dist} Release: 1%{?dist}
Summary: Python 2.x bindings for libgit2 Summary: Python 2.x bindings for libgit2
URL: http://www.pygit2.org 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 License: GPLv2 with linking exception
BuildRequires: libgit2-devel BuildRequires: libgit2-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
@ -19,9 +18,6 @@ Requires: python-cffi
Patch1: 0001-Remove-remote-calling-unit-tests.patch Patch1: 0001-Remove-remote-calling-unit-tests.patch
# https://github.com/libgit2/pygit2/commit/81520c9c626e092bc45f9fc8ba138eefa4d1beb2
Patch2: 0001-Update-to-libgit2-v0.23.patch
%description %description
pygit2 is a set of Python bindings to the libgit2 library, which implements 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. 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 %prep
%setup -qn %{pkgname}-%{realver} %setup -qn %{pkgname}-%{version}
%patch2 -p1
%patch1 -p1 %patch1 -p1
rm -rf %{py3dir} rm -rf %{py3dir}
@ -91,24 +84,25 @@ popd
%files %files
%doc README.rst TODO.txt %doc README.rst TODO.txt
%license COPYING %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}
%{python2_sitearch}/_%{pkgname}.so %{python2_sitearch}/_%{pkgname}.so
%{python2_sitearch}/%{pkgname}_cffi_*.so
%files -n python3-%{pkgname} %files -n python3-%{pkgname}
%doc README.rst TODO.txt %doc README.rst TODO.txt
%license COPYING %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}
%{python3_sitearch}/_%{pkgname}.*.so %{python3_sitearch}/_%{pkgname}.*.so
%{python3_sitearch}/%{pkgname}_cffi_*.so
%files doc %files doc
%doc docs/_build/html/* %doc docs/_build/html/*
%changelog %changelog
* Sun Sep 27 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.23.1-1
- Update to 0.23.1 (RHBZ #1266726)
* Fri Jul 31 2015 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.23.0-0.1 * Fri Jul 31 2015 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.23.0-0.1
- Cherry-pick patch for 0.23.0 support - Cherry-pick patch for 0.23.0 support

View File

@ -1 +1 @@
a96462a623da8532c68d5bf4e2bd69b1 pygit2-0.22.1.tar.gz d48aba904772dc3c2e4421f1d4ba7655 pygit2-0.23.1.tar.gz