From 61bf2a38e026f9f27006bfc38e82f1f4a9344f2e69c9fe28b4e3d2b0845b3428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 25 May 2019 09:34:04 +0000 Subject: [PATCH] - Update to 0.25: - Make parsing of SH_TYPE and PT_TYPE fields dependent on the machine (e_machine header field), making it possible to support conflicting type enums between different machines (#71 and #121). - Add parsing and readelf dumping for .eh_frame (#155) - Support compressed sections (#152) - Better support for parsing core dumps (#147) - More comprehensive handling of ARM relocations (#121) - Convert all ascii encoding to utf-8 encoding (#182) - Don't attempt to hex/string dump SHT_NOBITS sections in readelf (#119). - Test with Python 3.6 - Minor bugfixes (#118) - Cleanup: Use argparse instead of optparse - Make readelf comparison tests run in parallel using multiprocessing; cuts testing time 3-5x - Improvements in MIPS flags handling (#165) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyelftools?expand=0&rev=5 --- pyelftools-0.24.tar.gz | 3 --- pyelftools-0.25.tar.gz | 3 +++ python-pyelftools.changes | 20 ++++++++++++++++++++ python-pyelftools.spec | 15 ++++++++------- 4 files changed, 31 insertions(+), 10 deletions(-) delete mode 100644 pyelftools-0.24.tar.gz create mode 100644 pyelftools-0.25.tar.gz diff --git a/pyelftools-0.24.tar.gz b/pyelftools-0.24.tar.gz deleted file mode 100644 index 619511e..0000000 --- a/pyelftools-0.24.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e9dd97d685a5b96b88a988dabadb88e5a539b64cd7d7927fac9a7368dc4c459c -size 411874 diff --git a/pyelftools-0.25.tar.gz b/pyelftools-0.25.tar.gz new file mode 100644 index 0000000..230096e --- /dev/null +++ b/pyelftools-0.25.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89c6da6f56280c37a5ff33468591ba9a124e17d71fe42de971818cbff46c1b24 +size 499493 diff --git a/python-pyelftools.changes b/python-pyelftools.changes index ebcb015..c4812af 100644 --- a/python-pyelftools.changes +++ b/python-pyelftools.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Sat May 25 09:32:46 UTC 2019 - Tomáš Chvátal + +- Update to 0.25: + - Make parsing of SH_TYPE and PT_TYPE fields dependent on the machine + (e_machine header field), making it possible to support conflicting type + enums between different machines (#71 and #121). + - Add parsing and readelf dumping for .eh_frame (#155) + - Support compressed sections (#152) + - Better support for parsing core dumps (#147) + - More comprehensive handling of ARM relocations (#121) + - Convert all ascii encoding to utf-8 encoding (#182) + - Don't attempt to hex/string dump SHT_NOBITS sections in readelf (#119). + - Test with Python 3.6 + - Minor bugfixes (#118) + - Cleanup: Use argparse instead of optparse + - Make readelf comparison tests run in parallel using multiprocessing; cuts + testing time 3-5x + - Improvements in MIPS flags handling (#165) + ------------------------------------------------------------------- Fri May 18 13:24:57 UTC 2018 - yousaf.kaukab@suse.com diff --git a/python-pyelftools.spec b/python-pyelftools.spec index bbddd5f..e931012 100644 --- a/python-pyelftools.spec +++ b/python-pyelftools.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyelftools # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,23 +12,23 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pyelftools -Version: 0.24 +Version: 0.25 Release: 0 -License: SUSE-Public-Domain Summary: Library for analyzing ELF files and DWARF debugging information -Url: https://github.com/eliben/pyelftools +License: SUSE-Public-Domain Group: Development/Languages/Python +URL: https://github.com/eliben/pyelftools Source: https://files.pythonhosted.org/packages/source/p/pyelftools/pyelftools-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -43,6 +43,7 @@ pyelftools is a pure python library for analyzing ELF files and DWARF debugging %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} + %check %python_exec test/run_all_unittests.py %python_exec test/run_examples_test.py