Sync from SUSE:SLFO:Main python-pyelftools revision 38aff969a7ee6ebbf4e8c7f49981e2fd

This commit is contained in:
Adrian Schröter 2024-12-13 12:04:07 +01:00
parent cd5995d4f0
commit 04a0aa9155
4 changed files with 43 additions and 13 deletions

BIN
pyelftools-0.29.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pyelftools-0.31.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Thu Mar 21 16:59:56 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.31:
* Fix iter_notes to handle > 4byte segment alignment
* Fix buffer overrun in NT_GNU_PROPERTY_TYPE_0 parser
* add enum for v850 relocations
* support for the gnu note with the aarch64 features
* full changes see https://github.com/eliben/pyelftools/compare/v0.30...v0.31
-------------------------------------------------------------------
Tue Jan 16 17:04:54 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Thu Dec 14 20:57:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to update to 0.30:
* Optimization: cache instantiation of DWARF structs
* DWARFv5 CU headers
* Bug fix in attribute reporting for DWA_FORM_indirect
* Support for RISC-V attributes
* Readelf used for testing upgraded to 2.41
* Support for MIPS64 object files
* LoongArch support
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Oct 5 00:06:09 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com> Wed Oct 5 00:06:09 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-pyelftools # spec file for package python-pyelftools
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,20 +16,22 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons}
Name: python-pyelftools Name: python-pyelftools
Version: 0.29 Version: 0.31
Release: 0 Release: 0
Summary: Library for analyzing ELF files and DWARF debugging information Summary: Library for analyzing ELF files and DWARF debugging information
License: SUSE-Public-Domain License: SUSE-Public-Domain
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/eliben/pyelftools URL: https://github.com/eliben/pyelftools
Source: https://files.pythonhosted.org/packages/source/p/pyelftools/pyelftools-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pyelftools/pyelftools-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun):update-alternatives Requires(postun): update-alternatives
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
@ -37,13 +39,13 @@ BuildArch: noarch
pyelftools is a pure python library for analyzing ELF files and DWARF debugging information pyelftools is a pure python library for analyzing ELF files and DWARF debugging information
%prep %prep
%setup -q -n pyelftools-%{version} %autosetup -p1 -n pyelftools-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/readelf.py %python_clone -a %{buildroot}%{_bindir}/readelf.py
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
@ -66,6 +68,7 @@ pyelftools is a pure python library for analyzing ELF files and DWARF debugging
%license LICENSE %license LICENSE
%doc CHANGES %doc CHANGES
%python_alternative %{_bindir}/readelf.py %python_alternative %{_bindir}/readelf.py
%{python_sitelib}/* %{python_sitelib}/elftools
%{python_sitelib}/pyelftools-%{version}*-info
%changelog %changelog