Still support Python 2 on Fedora 31

This commit is contained in:
Terje Røsten 2019-06-11 20:14:05 +02:00
parent e04ae5ab83
commit 228a50c906

View File

@ -6,7 +6,7 @@
%global py3readelf py3readelf %global py3readelf py3readelf
%endif %endif
%if 0%{?fedora} && 0%{?fedora} < 31 %if 0%{?fedora} && 0%{?fedora} < 32
%global with_python2 1 %global with_python2 1
%endif %endif
@ -21,7 +21,7 @@
Summary: Pure-Python library for parsing and analyzing ELF files Summary: Pure-Python library for parsing and analyzing ELF files
Name: pyelftools Name: pyelftools
Version: 0.25 Version: 0.25
Release: 1%{?dist} Release: 2%{?dist}
License: Public Domain License: Public Domain
URL: https://github.com/eliben/pyelftools URL: https://github.com/eliben/pyelftools
Source0: https://files.pythonhosted.org/packages/source/p/pyelftools/pyelftools-%{version}.tar.gz Source0: https://files.pythonhosted.org/packages/source/p/pyelftools/pyelftools-%{version}.tar.gz
@ -115,6 +115,9 @@ mv %{buildroot}/usr/bin/readelf.py %{buildroot}/usr/bin/%{py3readelf}
%endif %endif
%changelog %changelog
* Tue Jun 11 2019 Terje Rosten <terje.rosten@ntnu.no> - 0.25-2
- Still support Python 2 on Fedora 31
* Sun May 05 2019 Terje Rosten <terje.rosten@ntnu.no> - 0.25-1 * Sun May 05 2019 Terje Rosten <terje.rosten@ntnu.no> - 0.25-1
- 0.25 - 0.25
- Use bundled construct as construct 2.9 is incompatible - Use bundled construct as construct 2.9 is incompatible