1
0
forked from pool/python-pygit2

- 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
This commit is contained in:
Tomáš Chvátal
2018-05-17 12:13:49 +00:00
committed by Git OBS Bridge
parent dcc6728618
commit e265214141
4 changed files with 24 additions and 22 deletions

BIN
pygit2-0.26.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pygit2-0.27.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -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

View File

@@ -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