diff --git a/pyelftools.spec b/pyelftools.spec index e5532b8..afa78bb 100644 --- a/pyelftools.spec +++ b/pyelftools.spec @@ -6,7 +6,7 @@ %global py3readelf py3readelf %endif -%if 0%{?fedora} && 0%{?fedora} < 31 +%if 0%{?fedora} && 0%{?fedora} < 32 %global with_python2 1 %endif @@ -21,7 +21,7 @@ Summary: Pure-Python library for parsing and analyzing ELF files Name: pyelftools Version: 0.25 -Release: 1%{?dist} +Release: 2%{?dist} License: Public Domain URL: https://github.com/eliben/pyelftools 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 %changelog +* Tue Jun 11 2019 Terje Rosten - 0.25-2 +- Still support Python 2 on Fedora 31 + * Sun May 05 2019 Terje Rosten - 0.25-1 - 0.25 - Use bundled construct as construct 2.9 is incompatible