Python 2 binary package renamed to python2-pyelftools

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-08-19 09:39:14 -04:00
parent 24ea1818fd
commit 60745ef379

View File

@ -13,7 +13,7 @@
Name: pyelftools Name: pyelftools
Version: 0.22 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 Summary: Pure-Python library for parsing and analyzing ELF files
License: Public Domain License: Public Domain
@ -41,14 +41,15 @@ Pure-Python library for parsing and analyzing ELF files
and DWARF debugging information. 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 Summary: Pure-Python library for parsing and analyzing ELF files
BuildArch: noarch BuildArch: noarch
Requires: python-construct Requires: python-construct
Provides: %{name} = %{version}-%{release} Provides: %{name} = %{version}-%{release}
%description -n python-%{name} %description -n python2-%{name}
Pure-Python library for parsing and analyzing ELF files Pure-Python library for parsing and analyzing ELF files
and DWARF debugging information. and DWARF debugging information.
@ -123,7 +124,7 @@ mv %{buildroot}/usr/bin/readelf.py %{buildroot}/usr/bin/py3readelf
%endif %endif
%files -n python-%{name} %files -n python2-%{name}
%doc CHANGES LICENSE README* TODO %doc CHANGES LICENSE README* TODO
%{__python_sitelib}/*elftools* %{__python_sitelib}/*elftools*
%{_bindir}/pyreadelf %{_bindir}/pyreadelf
@ -137,6 +138,10 @@ mv %{buildroot}/usr/bin/readelf.py %{buildroot}/usr/bin/py3readelf
%changelog %changelog
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 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 <releng@fedoraproject.org> - 0.22-0.13.git20130619.a1d9681 * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-0.13.git20130619.a1d9681
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild