Update to 0.23.1 (RHBZ #1266726)
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
parent
682256b811
commit
a38c383933
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
@ -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 <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
|
||||
- Cherry-pick patch for 0.23.0 support
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user