Python2 binary package has been removed
This commit is contained in:
parent
b89f32862a
commit
b50f3b98c6
@ -6,7 +6,7 @@
|
||||
|
||||
Name: python-%{pkgname}
|
||||
Version: 0.27.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Python bindings for libgit2
|
||||
|
||||
License: GPLv2 with linking exception
|
||||
@ -21,23 +21,6 @@ pygit2 is a set of Python bindings to the libgit2 library, which implements
|
||||
the core of Git.
|
||||
|
||||
|
||||
%package -n python2-%{pkgname}
|
||||
Summary: Python 2.x bindings for libgit2
|
||||
%{?python_provide:%python_provide python2-%{pkgname}}
|
||||
BuildRequires: python2-cffi
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-setuptools
|
||||
BuildRequires: python2-six
|
||||
Requires: python2-cffi
|
||||
Requires: python2-six
|
||||
|
||||
%description -n python2-%{pkgname}
|
||||
pygit2 is a set of Python bindings to the libgit2 library, which implements
|
||||
the core of Git.
|
||||
|
||||
Python 2 version.
|
||||
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%package -n python3-%{pkgname}
|
||||
Summary: Python 3.x bindings for libgit2
|
||||
@ -71,7 +54,6 @@ Documentation for %{name}.
|
||||
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
make -C docs html
|
||||
|
||||
%if 0%{?with_python3}
|
||||
@ -80,7 +62,6 @@ make -C docs html
|
||||
|
||||
|
||||
%install
|
||||
%py2_install
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%py3_install
|
||||
@ -96,25 +77,16 @@ 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 || :
|
||||
%if 0%{?with_python3}
|
||||
%{__python3} setup.py test || :
|
||||
%endif
|
||||
%else
|
||||
%{__python2} setup.py test
|
||||
%if 0%{?with_python3}
|
||||
%{__python3} setup.py test
|
||||
%endif
|
||||
%endif
|
||||
|
||||
|
||||
%files -n python2-%{pkgname}
|
||||
%doc README.rst TODO.txt
|
||||
%license COPYING
|
||||
%{python2_sitearch}/%{pkgname}-*.egg-info/
|
||||
%{python2_sitearch}/%{pkgname}/
|
||||
%{python2_sitearch}/_%{pkgname}.so
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%files -n python3-%{pkgname}
|
||||
%doc README.rst TODO.txt
|
||||
@ -130,6 +102,10 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Oct 11 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.27.2-2
|
||||
- Python2 binary package has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
||||
|
||||
* Mon Sep 17 2018 Pete Walter <pwalter@fedoraproject.org> - 0.27.2-1
|
||||
- Update to 0.27.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user