diff --git pyelftools/pyelftools.spec pyelftools/pyelftools.spec.tmp index e95e9e38cf..17a59c7d6c 100644 --- pyelftools/pyelftools.spec +++ pyelftools/pyelftools.spec.tmp @@ -13,7 +13,7 @@ Name: pyelftools Version: 0.22 -Release: 0.13.git%{commitdate}.%{shortcommit}%{?dist} +Release: 0.14.git%{commitdate}.%{shortcommit}%{?dist} Summary: Pure-Python library for parsing and analyzing ELF files License: Public Domain @@ -41,14 +41,15 @@ Pure-Python library for parsing and analyzing ELF files and DWARF debugging information. -%package -n python-%{name} +%package -n python2-%{name} +%{?python_provide:%python_provide python2-%{name}} Summary: Pure-Python library for parsing and analyzing ELF files BuildArch: noarch Requires: python-construct Provides: %{name} = %{version}-%{release} -%description -n python-%{name} +%description -n python2-%{name} Pure-Python library for parsing and analyzing ELF files and DWARF debugging information. @@ -123,7 +124,7 @@ mv %{buildroot}/usr/bin/readelf.py %{buildroot}/usr/bin/py3readelf %endif -%files -n python-%{name} +%files -n python2-%{name} %doc CHANGES LICENSE README* TODO %{__python_sitelib}/*elftools* %{_bindir}/pyreadelf @@ -137,6 +138,10 @@ mv %{buildroot}/usr/bin/readelf.py %{buildroot}/usr/bin/py3readelf %changelog +* Sat Aug 12 2017 Zbigniew Jędrzejewski-Szmek - 0.22-0.14.git20130619.a1d9681 +- Python 2 binary package renamed to python2-pyelftools + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + * Thu Aug 03 2017 Fedora Release Engineering - 0.22-0.13.git20130619.a1d9681 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild