Drop python2 for Fedora 31+ (bug #1694619)

This commit is contained in:
Miro Hrončok 2019-07-22 12:39:39 +02:00
parent 6ebef6de14
commit 067b54a854

View File

@ -1,13 +1,13 @@
%global srcname pkgconfig %global srcname pkgconfig
%if 0%{?fedora} && 0%{?fedora} <= 30 %if 0%{?fedora} && 0%{?fedora} <= 30
%bcond_with python2
%else
%bcond_without python2 %bcond_without python2
%else
%bcond_with python2
%endif %endif
Name: python-%{srcname} Name: python-%{srcname}
Version: 1.5.1 Version: 1.5.1
Release: 1%{?dist} Release: 2%{?dist}
Summary: Python interface to the pkg-config command line tool Summary: Python interface to the pkg-config command line tool
License: MIT License: MIT
@ -108,10 +108,12 @@ sed -i -e s/distutils.core/setuptools/ setup.py
%{python3_sitelib}/%{srcname}/ %{python3_sitelib}/%{srcname}/
%changelog %changelog
* Mon Jul 22 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.1-2
- Drop python2 for Fedora 31+ (bug #1694619)
* Mon Apr 1 2019 Orion Poplawski <orion@nwra.com> - 1.5.1-1 * Mon Apr 1 2019 Orion Poplawski <orion@nwra.com> - 1.5.1-1
- Update to 1.5.1 - Update to 1.5.1
- Patch setup.py to revert to setuptools - Patch setup.py to revert to setuptools
- Drop python2 for Fedora 31+ (bug #1694619)
* Sun Mar 31 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.0-1 * Sun Mar 31 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.0-1
- Update to 1.5.0 - Update to 1.5.0