Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1452223 Details for
Bug 1592052
pyelftools is out-of-date and this prevents running pwntools
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Updated pyelftools.spec
pyelftools.spec (text/x-matlab), 6.10 KB, created by
W. Michael Petullo
on 2018-06-16 18:23:08 UTC
(
hide
)
Description:
Updated pyelftools.spec
Filename:
MIME Type:
Creator:
W. Michael Petullo
Created:
2018-06-16 18:23:08 UTC
Size:
6.10 KB
patch
obsolete
>%if 0%{?fedora} || 0%{?rhel} >= 8 >%global __python_sitelib %{python2_sitelib} >%else >%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} >%global __python_sitelib %{python_sitelib} >%{?__python2:%global __python2 %{__python}} >%endif > >%global debug_package %{nil} > >Name: pyelftools >Version: 0.24 >Release: 1%{?dist} >Summary: Pure-Python library for parsing and analyzing ELF files > >License: Public Domain >URL: https://github.com/eliben/%{name} > >Source0: https://github.com/eliben/%{name}/archive/v%{version}.tar.gz > >Patch0: pyelftools-0.24-construct.patch > >BuildRequires: python2-devel >BuildRequires: python-setuptools >BuildRequires: python-construct > >%if 0%{?fedora} || 0%{?rhel} >= 8 >BuildRequires: python3-devel >BuildRequires: python3-setuptools >BuildRequires: python3-construct >%endif > >BuildArch: noarch > >%description >Pure-Python library for parsing and analyzing ELF files >and DWARF debugging information. > > >%package -n python2-%{name} >Summary: %{summary} >Requires: python-construct >%{?python_provide:%python_provide python2-%{name}} ># Remove before F30 >Provides: %{name} = %{version}-%{release} > >%description -n python2-%{name} >Pure-Python library for parsing and analyzing ELF files >and DWARF debugging information. > > >%if 0%{?fedora} || 0%{?rhel} >= 8 >%package -n python3-%{name} >Summary: %{summary} >Requires: python3-construct >%{?python_provide:%python_provide python3-%{name}} > >%description -n python3-%{name} >Pure-Python library for parsing and analyzing ELF files >and DWARF debugging information. >%endif > > >%prep >%setup -q >%patch0 -p1 > ># remove bundled construct lib >rm -rf elftools/construct > ># python3-package >%if 0%{?fedora} || 0%{?rhel} >= 8 >rm -rf %{py3dir} >cp -a . %{py3dir} > ># fix hashbang >sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python3|' %{py3dir}/scripts/readelf.py >%endif > >sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python2|' scripts/readelf.py > > >%build >%{__python2} setup.py build > >%if 0%{?fedora} || 0%{?rhel} >= 8 >pushd %{py3dir} >%{__python3} setup.py build >%endif > > >%install >%{__python2} setup.py install -O1 --skip-build --root %{buildroot} >mv %{buildroot}/usr/bin/readelf.py %{buildroot}/usr/bin/pyreadelf > >%if 0%{?fedora} || 0%{?rhel} >= 8 >pushd %{py3dir} >%{__python3} setup.py install -O1 --skip-build --root %{buildroot} >mv %{buildroot}/usr/bin/readelf.py %{buildroot}/usr/bin/py3readelf >%endif > > >%check >%{__python2} test/run_all_unittests.py >%{__python2} test/run_examples_test.py ># tests may fail because of differences in output-formatting ># from binutils' readelf. See: ># https://github.com/eliben/pyelftools/wiki/Hacking-guide#tests >%{__python2} test/run_readelf_tests.py || : > >%if 0%{?fedora} || 0%{?rhel} >= 8 >%{__python3} test/run_all_unittests.py >%{__python3} test/run_examples_test.py ># tests may fail because of differences in output-formatting ># from binutils' readelf. See: ># https://github.com/eliben/pyelftools/wiki/Hacking-guide#tests >%{__python3} test/run_readelf_tests.py || : >%endif > > >%files -n python2-%{name} >%doc CHANGES LICENSE README* TODO >%{__python_sitelib}/*elftools* >%{_bindir}/pyreadelf > >%if 0%{?fedora} || 0%{?rhel} >= 8 >%files -n python3-%{name} >%doc CHANGES LICENSE README* TODO >%{python3_sitelib}/*elftools* >%{_bindir}/py3readelf >%endif > > >%changelog >* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-0.15.git20130619.a1d9681 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild > >* 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 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild > >* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-0.12.git20130619.a1d9681 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild > >* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-0.11.git20130619.a1d9681 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild > >* Mon Dec 19 2016 Miro HronÄok <mhroncok@redhat.com> - 0.22-0.10.git20130619.a1d9681 >- Rebuild for Python 3.6 > >* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-0.9.git20130619.a1d9681 >- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages > >* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-0.8.git20130619.a1d9681 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild > >* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-0.7.git20130619.a1d9681 >- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 > >* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-0.6.git20130619.a1d9681 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild > >* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-0.5.git20130619.a1d9681 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild > >* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-0.4.git20130619.a1d9681 >- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild > >* Tue May 27 2014 Kalev Lember <kalevlember@gmail.com> - 0.22-0.3.git20130619.a1d9681 >- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 > >* Wed Oct 02 2013 Björn Esser <bjoern.esser@gmail.com> - 0.22-0.2.git20130619.a1d9681 >- adaptions for new Python-guidelines > >* Fri Aug 16 2013 Björn Esser <bjoern.esser@gmail.com> - 0.22-0.1.git20130619.a1d9681 >- update to latest pre-release git snapshot >- add python3-package >- build on all arches to get some conclusion from testsuite, > but create noarch pkgs > >* Sat Jun 08 2013 Terje Rosten <terje.rosten@ntnu.no> - 0.21-2 >- Remove bundled construct lib > >* Thu May 09 2013 Terje Rosten <terje.rosten@ntnu.no> - 0.21-1 >- 0.21 >- Run test >- Updated source url >- Drop defattr > >* Wed Jun 06 2012 Kushal Das <kushal@fedoraproject.org> 0.20-1 >- Intial package (#829676)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1592052
:
1452175
| 1452223 |
1452224