diff --git a/pygit2-0.28.2.tar.gz b/pygit2-0.28.2.tar.gz deleted file mode 100644 index 2356ce8..0000000 --- a/pygit2-0.28.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4d8c3fbbf2e5793a9984681a94e6ac2f1bc91a92cbac762dbdfbea296b917f86 -size 496469 diff --git a/pygit2-1.2.1.tar.gz b/pygit2-1.2.1.tar.gz new file mode 100644 index 0000000..70e3434 --- /dev/null +++ b/pygit2-1.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de9421118a99c79cbba1e512d60e5caed1d63273ce30a0e8d4edef4a2e500387 +size 235852 diff --git a/python-pygit2.changes b/python-pygit2.changes index c8900be..8cbd68f 100644 --- a/python-pygit2.changes +++ b/python-pygit2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed May 6 08:01:51 UTC 2020 - Tomáš Chvátal + +- Update to 1.2.1: + * Drop python2 support + * Various crash fixes + ------------------------------------------------------------------- Mon Dec 2 14:50:25 UTC 2019 - Julio González Gil diff --git a/python-pygit2.spec b/python-pygit2.spec index fa5907d..d649b63 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -1,7 +1,7 @@ # # spec file for package python-pygit2 # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2019 Neal Gompa . # # All modifications and additions to the file contributed by third parties @@ -18,28 +18,26 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-pygit2 -Version: 0.28.2 +Version: 1.2.1 Release: 0 Summary: Python bindings for libgit2 License: GPL-2.0-only -Group: Development/Languages/Python URL: https://github.com/libgit2/pygit2 Source: https://files.pythonhosted.org/packages/source/p/pygit2/pygit2-%{version}.tar.gz -BuildRequires: %{python_module cffi} +BuildRequires: %{python_module cached-property} +BuildRequires: %{python_module cffi >= 1.4.0} BuildRequires: %{python_module devel} -BuildRequires: %{python_module pycparser} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module six} BuildRequires: ca-certificates BuildRequires: ca-certificates-mozilla BuildRequires: fdupes -BuildRequires: libgit2-devel >= %{version} +BuildRequires: libgit2-devel >= 1.0 BuildRequires: libopenssl-devel BuildRequires: python-rpm-macros -Requires: python-pycparser -Requires: python-six +Requires: python-cached-property %requires_eq python-cffi %python_subpackages