The package rpms/python-pygit2.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/python-pygit2.git/commit/?id=7bd5....
Change:
+%ifarch ppc64 s390x
Thanks.
Full change:
============
commit 7bd542b20db7bc9c05d908f9b8017f17c7bc0c03
Author: Pete Walter <pwalter(a)fedoraproject.org>
Date: Tue Jan 29 11:42:14 2019 +0000
Enable tests on aarch64 as they seem fixed now
diff --git a/python-pygit2.spec b/python-pygit2.spec
index 4eed782..b01b847 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -95,9 +95,8 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
%check
-#
https://github.com/libgit2/pygit2/issues/811
#
https://github.com/libgit2/pygit2/issues/812
-%ifarch aarch64 ppc64 s390x
+%ifarch ppc64 s390x
PYTHONPATH=%{buildroot}%{python2_sitearch} pytest-2 || :
%if 0%{?with_python3}
PYTHONPATH=%{buildroot}%{python3_sitearch} pytest-3 || :
@@ -134,6 +133,7 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
%changelog
* Thu Jan 24 2019 Pete Walter <pwalter(a)fedoraproject.org> - 0.27.4-1
- Update to 0.27.4
+- Enable tests on aarch64 as they seem fixed now
* Thu Dec 27 2018 Pete Walter <pwalter(a)fedoraproject.org> - 0.27.3-1
- Update to 0.27.3
commit 9ab18359be8a458ed9356162ba9dbd25b794548f
Author: Pete Walter <pwalter(a)fedoraproject.org>
Date: Tue Jan 29 11:30:50 2019 +0000
Avoid using _bindir macro in BRs
This breaks flatpak builds as the prefix there is redefined to be /app.
diff --git a/python-pygit2.spec b/python-pygit2.spec
index 7bdaa4a..4eed782 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -62,7 +62,7 @@ Python 3 version.
%package doc
Summary: Documentation for %{name}
BuildArch: noarch
-BuildRequires: %{_bindir}/sphinx-build
+BuildRequires: /usr/bin/sphinx-build
%description doc
Documentation for %{name}.
commit 35e2c0b0c4f9e9bcdf0ba6ef4a563870c7de67ae
Author: Pete Walter <pwalter(a)fedoraproject.org>
Date: Tue Jan 29 11:29:44 2019 +0000
Fix the build
diff --git a/python-pygit2.spec b/python-pygit2.spec
index bc67064..7bdaa4a 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -98,14 +98,14 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
#
https://github.com/libgit2/pygit2/issues/811
#
https://github.com/libgit2/pygit2/issues/812
%ifarch aarch64 ppc64 s390x
- pytest-2 || :
+ PYTHONPATH=%{buildroot}%{python2_sitearch} pytest-2 || :
%if 0%{?with_python3}
- pytest-3 || :
+ PYTHONPATH=%{buildroot}%{python3_sitearch} pytest-3 || :
%endif
%else
- pytest-2
+ PYTHONPATH=%{buildroot}%{python2_sitearch} pytest-2
%if 0%{?with_python3}
- pytest-3
+ PYTHONPATH=%{buildroot}%{python3_sitearch} pytest-3
%endif
%endif
commit 8deb60e82b30db7601a9d9db0f1959a9270348f8
Author: Pete Walter <pwalter(a)fedoraproject.org>
Date: Thu Jan 24 07:14:46 2019 +0000
Update to 0.27.4
diff --git a/.gitignore b/.gitignore
index 603b3e7..a905388 100644
--- a/.gitignore
+++ b/.gitignore
@@ -22,3 +22,4 @@
/pygit2-0.27.1.tar.gz
/pygit2-0.27.2.tar.gz
/pygit2-0.27.3.tar.gz
+/pygit2-0.27.4.tar.gz
diff --git a/python-pygit2.spec b/python-pygit2.spec
index 33faad5..bc67064 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -5,7 +5,7 @@
%global pkgname pygit2
Name: python-%{pkgname}
-Version: 0.27.3
+Version: 0.27.4
Release: 1%{?dist}
Summary: Python bindings for libgit2
@@ -132,6 +132,9 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
%changelog
+* Thu Jan 24 2019 Pete Walter <pwalter(a)fedoraproject.org> - 0.27.4-1
+- Update to 0.27.4
+
* Thu Dec 27 2018 Pete Walter <pwalter(a)fedoraproject.org> - 0.27.3-1
- Update to 0.27.3
- Switch to pytest
diff --git a/sources b/sources
index 8290b93..8821a2a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pygit2-0.27.3.tar.gz) =
7a20d4c0a5a751a68de652ad2cf5d9e928e3271cd914833784c153ce9b09ce6b24aea3591887a03eb24b5f9b753aac7c44b2fea2b5d448f7ff6a15e8a381080d
+SHA512 (pygit2-0.27.4.tar.gz) =
7673ff8df7a942bcdc462e121327c668634ba61d48f654052202ef63a729903f2b5f238441bbaa52945657f69c2f6630593eaf5ee9f888c97e09db483785ce5e
commit ce184750208dbda40d4f73f771908dfdefbdaf4a
Author: Pete Walter <pwalter(a)fedoraproject.org>
Date: Mon Jan 7 10:12:32 2019 +0000
Switch to pytest
diff --git a/python-pygit2.spec b/python-pygit2.spec
index d918a17..33faad5 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -26,6 +26,7 @@ Summary: Python 2.x bindings for libgit2
%{?python_provide:%python_provide python2-%{pkgname}}
BuildRequires: python2-cffi
BuildRequires: python2-devel
+BuildRequires: python2-pytest
BuildRequires: python2-setuptools
BuildRequires: python2-six
Requires: python2-cffi
@@ -44,6 +45,7 @@ Summary: Python 3.x bindings for libgit2
%{?python_provide:%python_provide python3-%{pkgname}}
BuildRequires: python3-cffi
BuildRequires: python3-devel
+BuildRequires: python3-pytest
BuildRequires: python3-setuptools
BuildRequires: python3-six
Requires: python3-cffi
@@ -96,14 +98,14 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
#
https://github.com/libgit2/pygit2/issues/811
#
https://github.com/libgit2/pygit2/issues/812
%ifarch aarch64 ppc64 s390x
- %{__python2} setup.py test || :
+ pytest-2 || :
%if 0%{?with_python3}
- %{__python3} setup.py test || :
+ pytest-3 || :
%endif
%else
- %{__python2} setup.py test
+ pytest-2
%if 0%{?with_python3}
- %{__python3} setup.py test
+ pytest-3
%endif
%endif
@@ -132,6 +134,7 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
%changelog
* Thu Dec 27 2018 Pete Walter <pwalter(a)fedoraproject.org> - 0.27.3-1
- Update to 0.27.3
+- Switch to pytest
* Mon Sep 17 2018 Pete Walter <pwalter(a)fedoraproject.org> - 0.27.2-1
- Update to 0.27.2
commit 102515eb88748310e8673508c44030f1a1927887
Author: Pete Walter <pwalter(a)fedoraproject.org>
Date: Thu Dec 27 22:13:35 2018 +0000
Update to 0.27.3
diff --git a/.gitignore b/.gitignore
index 40a3c8b..603b3e7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,4 @@
/pygit2-0.26.4.tar.gz
/pygit2-0.27.1.tar.gz
/pygit2-0.27.2.tar.gz
+/pygit2-0.27.3.tar.gz
diff --git a/python-pygit2.spec b/python-pygit2.spec
index 3648af0..d918a17 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -5,7 +5,7 @@
%global pkgname pygit2
Name: python-%{pkgname}
-Version: 0.27.2
+Version: 0.27.3
Release: 1%{?dist}
Summary: Python bindings for libgit2
@@ -130,6 +130,9 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
%changelog
+* Thu Dec 27 2018 Pete Walter <pwalter(a)fedoraproject.org> - 0.27.3-1
+- Update to 0.27.3
+
* Mon Sep 17 2018 Pete Walter <pwalter(a)fedoraproject.org> - 0.27.2-1
- Update to 0.27.2
diff --git a/sources b/sources
index 99096b3..8290b93 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pygit2-0.27.2.tar.gz) =
bfc79fc6645deac7b13f25e6fa3477ef5ef0d36dacd1ea9232e8ee0f965e7da7247ff69bb0ca4885cad6e8ffb6c975529bc2b181ae4488a4e32e8ed7d4ca9de7
+SHA512 (pygit2-0.27.3.tar.gz) =
7a20d4c0a5a751a68de652ad2cf5d9e928e3271cd914833784c153ce9b09ce6b24aea3591887a03eb24b5f9b753aac7c44b2fea2b5d448f7ff6a15e8a381080d