From 5a36fcce924287c896ff343c9df10f06d33f86ad350de97988b894c2278b1a83 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 6 Apr 2021 08:30:10 +0000 Subject: [PATCH] Accepting request 882923 from home:musfay:branches:devel:languages:python - Update to version 0.27: * Add a bit more details to dwarf_pubnames_types example * Make dwarf_pubnames_types example a bit more general * Replace field access with property name access * DebugSectionDescriptor.size initialized with decompressed section size (#339) * hash.py: observe endianness when reading hashes (#338) * DWARFv1 constants in enums, DW_FORM_ref parsing (#335) * elf: support for ELF files with a large number of sections (#333) * Remove Travis config OBS-URL: https://build.opensuse.org/request/show/882923 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyelftools?expand=0&rev=11 --- pyelftools-0.26.tar.gz | 3 --- pyelftools-0.27.tar.gz | 3 +++ python-pyelftools.changes | 13 +++++++++++++ python-pyelftools.spec | 13 ++++++------- 4 files changed, 22 insertions(+), 10 deletions(-) delete mode 100644 pyelftools-0.26.tar.gz create mode 100644 pyelftools-0.27.tar.gz diff --git a/pyelftools-0.26.tar.gz b/pyelftools-0.26.tar.gz deleted file mode 100644 index c3c68de..0000000 --- a/pyelftools-0.26.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:86ac6cee19f6c945e8dedf78c6ee74f1112bd14da5a658d8c9d4103aed5756a2 -size 535651 diff --git a/pyelftools-0.27.tar.gz b/pyelftools-0.27.tar.gz new file mode 100644 index 0000000..81d97a7 --- /dev/null +++ b/pyelftools-0.27.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cde854e662774c5457d688ca41615f6594187ba7067af101232df889a6b7a66b +size 2636011 diff --git a/python-pyelftools.changes b/python-pyelftools.changes index 8848dee..85dc83d 100644 --- a/python-pyelftools.changes +++ b/python-pyelftools.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sun Apr 04 21:40:51 UTC 2021 - Mustafa Çalışkan + +- Update to version 0.27: + * Add a bit more details to dwarf_pubnames_types example + * Make dwarf_pubnames_types example a bit more general + * Replace field access with property name access + * DebugSectionDescriptor.size initialized with decompressed section size (#339) + * hash.py: observe endianness when reading hashes (#338) + * DWARFv1 constants in enums, DW_FORM_ref parsing (#335) + * elf: support for ELF files with a large number of sections (#333) + * Remove Travis config + ------------------------------------------------------------------- Wed May 20 07:26:24 UTC 2020 - Petr Gajdos diff --git a/python-pyelftools.spec b/python-pyelftools.spec index e62058e..73502d1 100644 --- a/python-pyelftools.spec +++ b/python-pyelftools.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyelftools # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pyelftools -Version: 0.26 +Version: 0.27 Release: 0 Summary: Library for analyzing ELF files and DWARF debugging information License: SUSE-Public-Domain @@ -29,7 +29,7 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives BuildArch: noarch %python_subpackages @@ -38,9 +38,6 @@ pyelftools is a pure python library for analyzing ELF files and DWARF debugging %prep %setup -q -n pyelftools-%{version} -# DROP THIS REMOVAL! -rm test/test_pubtypes.py -# ^^^ https://github.com/eliben/pyelftools/commit/83ad8a220d0fd7a183bf249ad8bbb681227dc266 %build %python_build @@ -51,7 +48,9 @@ rm test/test_pubtypes.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec test/run_all_unittests.py +# Tests fails due to missing files. +# https://github.com/eliben/pyelftools/issues/349 +#%%python_exec test/run_all_unittests.py %python_exec test/run_examples_test.py # May fail due to minor differences in the output of readelf # https://github.com/eliben/pyelftools/wiki/Hacking-guide#tests