From e265214141cbf3851942ef2a3be55ed6eae30c465370f8ceabaebbc39ff4fd9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 17 May 2018 12:13:49 +0000 Subject: [PATCH] - Update to 0.27.0: * Update to libgit2 v0.27 #783 * Fix for GCC 4 #786 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=40 --- pygit2-0.26.0.tar.gz | 3 --- pygit2-0.27.0.tar.gz | 3 +++ python-pygit2.changes | 7 +++++++ python-pygit2.spec | 33 ++++++++++++++------------------- 4 files changed, 24 insertions(+), 22 deletions(-) delete mode 100644 pygit2-0.26.0.tar.gz create mode 100644 pygit2-0.27.0.tar.gz diff --git a/pygit2-0.26.0.tar.gz b/pygit2-0.26.0.tar.gz deleted file mode 100644 index 9043df8..0000000 --- a/pygit2-0.26.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a7f06d61f25ab644c39e0e9bd4846a6cc4af81ae27f889473e6f0e9511226cb1 -size 457263 diff --git a/pygit2-0.27.0.tar.gz b/pygit2-0.27.0.tar.gz new file mode 100644 index 0000000..0931559 --- /dev/null +++ b/pygit2-0.27.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6febce4aea72f12ed5a1e7529b91119f21d93cb2ccb3f834eea26af76cc9a4cb +size 477427 diff --git a/python-pygit2.changes b/python-pygit2.changes index 5124cce..188fb77 100644 --- a/python-pygit2.changes +++ b/python-pygit2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu May 17 12:10:25 UTC 2018 - tchvatal@suse.com + +- Update to 0.27.0: + * Update to libgit2 v0.27 #783 + * Fix for GCC 4 #786 + ------------------------------------------------------------------- Thu Aug 24 15:45:45 UTC 2017 - toddrme2178@gmail.com diff --git a/python-pygit2.spec b/python-pygit2.spec index 7dd445c..fd05f4d 100644 --- a/python-pygit2.spec +++ b/python-pygit2.spec @@ -1,7 +1,7 @@ # # spec file for package python-pygit2 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,27 +17,24 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with test Name: python-pygit2 -Version: 0.26.0 +Version: 0.27.0 Release: 0 Summary: Python bindings for libgit2 -License: GPL-2.0 +License: GPL-2.0-only 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 >= %{version} -BuildRequires: libopenssl-devel -BuildRequires: fdupes -BuildRequires: python-rpm-macros +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 devel} -BuildRequires: %{python_module six} BuildRequires: %{python_module setuptools} -%requires_eq python-cffi +BuildRequires: %{python_module six} +BuildRequires: fdupes +BuildRequires: libgit2-devel >= %{version} +BuildRequires: libopenssl-devel +BuildRequires: python-rpm-macros Requires: python-six -BuildRoot: %{_tmppath}/%{name}-%{version}-build - +%requires_eq python-cffi %python_subpackages %description @@ -52,16 +49,14 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" %install %python_install -%python_expand %fdupes %{buildroot}%{$python_sitelib} +%python_expand %fdupes %{buildroot}%{$python_sitearch} -%if %{with test} %check %python_exec setup.py test -%endif %files %{python_files} -%defattr(-,root,root,-) -%doc COPYING README.rst +%license COPYING +%doc README.rst %{python_sitearch}/* %changelog