1
0

- Add patch to fix issues on i586 arch:

* pygit2-i586.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pygit2?expand=0&rev=42
This commit is contained in:
Tomáš Chvátal
2018-05-21 08:34:38 +00:00
committed by Git OBS Bridge
parent e265214141
commit 6f380ee367
3 changed files with 30 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ 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
BuildRequires: %{python_module cffi}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
@@ -42,6 +43,7 @@ Bindings for libgit2, a linkable C library for the Git version-control system.
%prep
%setup -q -n pygit2-%{version}
%patch0 -p1
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"