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=6019....
Change:
+%ifarch ppc64 s390x
Thanks.
Full change:
============
commit 601991cd0296e367f363bfd5ecf47f89a3b9a0a7
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 d3a914c..8decaa3 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -64,9 +64,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}%{python3_sitearch} pytest-3 || :
%else
PYTHONPATH=%{buildroot}%{python3_sitearch} pytest-3
@@ -88,6 +87,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 def5f5a22725ccc699d1b52106f83f36c596c660
Author: Pete Walter <pwalter(a)fedoraproject.org>
Date: Tue Jan 29 11:33:43 2019 +0000
Drop python3 conditionals
They don't make much sense any more now that we are only building for Python 3
and Python 2 support is dropped.
diff --git a/python-pygit2.spec b/python-pygit2.spec
index 8efd42d..d3a914c 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -1,7 +1,3 @@
-%if 0%{?fedora} || 0%{?rhel} > 7
-%global with_python3 1
-%endif
-
%global pkgname pygit2
Name: python-%{pkgname}
@@ -21,7 +17,6 @@ pygit2 is a set of Python bindings to the libgit2 library, which
implements
the core of Git.
-%if 0%{?with_python3}
%package -n python3-%{pkgname}
Summary: Python 3.x bindings for libgit2
%{?python_provide:%python_provide python3-%{pkgname}}
@@ -38,7 +33,6 @@ pygit2 is a set of Python bindings to the libgit2 library, which
implements
the core of Git.
Python 3 version.
-%endif
%package doc
@@ -55,18 +49,13 @@ Documentation for %{name}.
%build
-make -C docs html
-
-%if 0%{?with_python3}
%py3_build
-%endif
+make -C docs html
-%install
-%if 0%{?with_python3}
+%install
%py3_install
-%endif
find %{_builddir} -name '.buildinfo' -delete
@@ -78,24 +67,18 @@ 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
- %if 0%{?with_python3}
PYTHONPATH=%{buildroot}%{python3_sitearch} pytest-3 || :
- %endif
%else
- %if 0%{?with_python3}
PYTHONPATH=%{buildroot}%{python3_sitearch} pytest-3
- %endif
%endif
-%if 0%{?with_python3}
%files -n python3-%{pkgname}
%doc README.rst TODO.txt
%license COPYING
%{python3_sitearch}/%{pkgname}-*.egg-info/
%{python3_sitearch}/%{pkgname}/
%{python3_sitearch}/_%{pkgname}.*.so
-%endif
%files doc
%license COPYING
commit d645e78b8cef0bf1ac8b17c14c8a35ea529a4658
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 964d01b..8efd42d 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -44,7 +44,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 935dfe8f705d22ea55b9387160a949e2fa51688d
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 6db6105..964d01b 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -79,11 +79,11 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
#
https://github.com/libgit2/pygit2/issues/812
%ifarch aarch64 ppc64 s390x
%if 0%{?with_python3}
- pytest-3 || :
+ PYTHONPATH=%{buildroot}%{python3_sitearch} pytest-3 || :
%endif
%else
%if 0%{?with_python3}
- pytest-3
+ PYTHONPATH=%{buildroot}%{python3_sitearch} pytest-3
%endif
%endif
commit 1d66eb16b0a2dd7bcc746bb897f52a6c340c228c
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 bd8f5c7..6db6105 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
@@ -103,6 +103,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 89a8b4912d3ea3de6372c110c8cca7f7aac6e414
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 d21ec76..bd8f5c7 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -27,6 +27,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
@@ -78,11 +79,11 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
#
https://github.com/libgit2/pygit2/issues/812
%ifarch aarch64 ppc64 s390x
%if 0%{?with_python3}
- %{__python3} setup.py test || :
+ pytest-3 || :
%endif
%else
%if 0%{?with_python3}
- %{__python3} setup.py test
+ pytest-3
%endif
%endif
@@ -104,6 +105,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
* Thu Oct 11 2018 Zbigniew Jdrzejewski-Szmek <zbyszek(a)in.waw.pl> - 0.27.2-2
- Python2 binary package has been removed
commit 89f38ef97ad2405ca45c2efda8deef6ef133aa3c
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 7165567..d21ec76 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -5,8 +5,8 @@
%global pkgname pygit2
Name: python-%{pkgname}
-Version: 0.27.2
-Release: 2%{?dist}
+Version: 0.27.3
+Release: 1%{?dist}
Summary: Python bindings for libgit2
License: GPLv2 with linking exception
@@ -102,6 +102,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
+
* Thu Oct 11 2018 Zbigniew Jdrzejewski-Szmek <zbyszek(a)in.waw.pl> - 0.27.2-2
- Python2 binary package has been removed
See
https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
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