diff --git a/pygit2-0.25.0.tar.gz b/pygit2-0.25.0.tar.gz deleted file mode 100644 index 03509b1..0000000 --- a/pygit2-0.25.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:de0ed85fd840dfeb32bcaa94c643307551dc0d967c3714e49087e7edc0cdc571 -size 472116 diff --git a/pygit2-0.26.0.tar.gz b/pygit2-0.26.0.tar.gz new file mode 100644 index 0000000..9043df8 --- /dev/null +++ b/pygit2-0.26.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7f06d61f25ab644c39e0e9bd4846a6cc4af81ae27f889473e6f0e9511226cb1 +size 457263 diff --git a/python-pygit2.changes b/python-pygit2.changes index 2c46de9..5124cce 100644 --- a/python-pygit2.changes +++ b/python-pygit2.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Aug 24 15:45:45 UTC 2017 - toddrme2178@gmail.com + +- Update to 0.26.0 + * Update to libgit2 v0.26 + * Drop support for Python 3.2, add support for cffi 1.10 + * New ``Repository.revert_commit(...)`` + * New ``Branch.is_checked_out()`` + * Various fixes + ------------------------------------------------------------------- Fri Apr 7 22:12:04 UTC 2017 - toddrme2178@gmail.com diff --git a/python-pygit2.spec b/python-pygit2.spec index 0ac2f8f..7dd445c 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -17,15 +17,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_with test Name: python-pygit2 -Version: 0.25.0 +Version: 0.26.0 Release: 0 Summary: Python bindings for libgit2 License: GPL-2.0 Group: Development/Languages/Python Url: https://github.com/libgit2/pygit2 Source: https://pypi.io/packages/source/p/pygit2/pygit2-%{version}.tar.gz -BuildRequires: libgit2-devel >= 0.25 +BuildRequires: libgit2-devel >= %{version} BuildRequires: libopenssl-devel BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -53,8 +54,10 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%if %{with test} %check -#python setup.py test +%python_exec setup.py test +%endif %files %{python_files} %defattr(-,root,root,-)