forked from mcepl/python-pygit2
Accepting request 687891 from home:Pharaoh_Atem:branches:devel:languages:python
- Update to 0.28.0 * Update to libgit2 v0.28 * New ``pygit2.Mailmap`` * New ``Repository.apply(...)`` wraps ``git_apply(..)`` * Now ``Repository.merge_analysis(...)`` accepts an optional reference parameter * Now ``Repository.add_worktree(...)`` accepts an optional reference parameter * Now it's possible to set SSL certificate locations * Test and documentation improvements * Now ``worktree.path`` returns the path to the worktree directory * Remove undocumented ``worktree.git_path`` - Remove unneeded patch to fix issues on i586: * pygit2-i586.patch - Add patch to remove unneeded constraint on pycparser * pygit2-0.28-Remove-pycparser-constraint.patch OBS-URL: https://build.opensuse.org/request/show/687891 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=44
This commit is contained in:
committed by
Git OBS Bridge
parent
6f380ee367
commit
7abfe8db2a
@@ -2,6 +2,7 @@
|
||||
# spec file for package python-pygit2
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 Neal Gompa <ngompa13@gmail.com>.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,22 +17,27 @@
|
||||
#
|
||||
|
||||
|
||||
# Define incompatible version for building libgit2
|
||||
%global libgit2_incompat_ver 0.29
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pygit2
|
||||
Version: 0.27.0
|
||||
Version: 0.28.0
|
||||
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
|
||||
Patch0: pygit2-i586.patch
|
||||
Patch0: pygit2-0.28-Remove-pycparser-constraint.patch
|
||||
BuildRequires: %{python_module cffi}
|
||||
BuildRequires: %{python_module devel}
|
||||
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 >= %{version} with libgit2-devel < %{libgit2_incompat_ver})
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-six
|
||||
@@ -42,8 +48,7 @@ Requires: python-six
|
||||
Bindings for libgit2, a linkable C library for the Git version-control system.
|
||||
|
||||
%prep
|
||||
%setup -q -n pygit2-%{version}
|
||||
%patch0 -p1
|
||||
%autosetup -n pygit2-%{version} -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
|
Reference in New Issue
Block a user