commit python-pyelftools for openSUSE:Factory

2020-05-26 Thread root
Hello community,

here is the log from the commit of package python-pyelftools for 
openSUSE:Factory checked in at 2020-05-26 17:17:20

Comparing /work/SRC/openSUSE:Factory/python-pyelftools (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyelftools.new.2738 (New)


Package is "python-pyelftools"

Tue May 26 17:17:20 2020 rev:4 rq:807659 version:0.26

Changes:

--- /work/SRC/openSUSE:Factory/python-pyelftools/python-pyelftools.changes  
2020-03-20 23:59:20.797019983 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pyelftools.new.2738/python-pyelftools.changes
2020-05-26 17:18:13.231832941 +0200
@@ -1,0 +2,5 @@
+Wed May 20 07:26:24 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-pyelftools.spec ++
--- /var/tmp/diff_new_pack.9JTnW7/_old  2020-05-26 17:18:14.019834634 +0200
+++ /var/tmp/diff_new_pack.9JTnW7/_new  2020-05-26 17:18:14.023834643 +0200
@@ -28,6 +28,8 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:  noarch
 %python_subpackages
 
@@ -45,6 +47,7 @@
 
 %install
 %python_install
+%python_clone -a %{buildroot}%{_bindir}/readelf.py
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -54,10 +57,16 @@
 # https://github.com/eliben/pyelftools/wiki/Hacking-guide#tests
 %python_exec test/run_readelf_tests.py || :
 
+%post
+%python_install_alternative readelf.py
+
+%postun
+%python_uninstall_alternative readelf.py
+
 %files %{python_files}
 %license LICENSE
 %doc CHANGES
-%python3_only %{_bindir}/readelf.py
+%python_alternative %{_bindir}/readelf.py
 %{python_sitelib}/*
 
 %changelog




commit python-pyelftools for openSUSE:Factory

2020-03-20 Thread root
Hello community,

here is the log from the commit of package python-pyelftools for 
openSUSE:Factory checked in at 2020-03-20 23:55:10

Comparing /work/SRC/openSUSE:Factory/python-pyelftools (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyelftools.new.3160 (New)


Package is "python-pyelftools"

Fri Mar 20 23:55:10 2020 rev:3 rq:786499 version:0.26

Changes:

--- /work/SRC/openSUSE:Factory/python-pyelftools/python-pyelftools.changes  
2019-05-27 08:39:39.319041271 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyelftools.new.3160/python-pyelftools.changes
2020-03-20 23:59:20.797019983 +0100
@@ -1,0 +2,16 @@
+Thu Mar 19 14:07:18 UTC 2020 - Marketa Calabkova 
+
+- Update to 0.26
+  * Call relocation for ARM v3 (#194)
+  * More complete architecture coverage for ENUM_E_MACHINE (#206)
+  * Support for .debug_pubtypes and .debug_pubnames sections (#208)
+  * Support for DWARF v4 location lists (#214)
+  * Decode strings in dynamic string tables (#217)
+  * Improve symbol table handling in dynamic segments (#219)
+  * Improved handling of location information (#225)
+  * Avoid deprecation warnings in Python 3.7+
+  * Add DWARF v5 OPs (#240)
+  * Handle many new translation forms and constants
+  * Lazy DIE parsing to speed up partial parsing of DWARF info (#249)
+
+---

Old:

  pyelftools-0.25.tar.gz

New:

  pyelftools-0.26.tar.gz



Other differences:
--
++ python-pyelftools.spec ++
--- /var/tmp/diff_new_pack.wbD1bQ/_old  2020-03-20 23:59:22.113020817 +0100
+++ /var/tmp/diff_new_pack.wbD1bQ/_new  2020-03-20 23:59:22.121020823 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyelftools
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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.25
+Version:0.26
 Release:0
 Summary:Library for analyzing ELF files and DWARF debugging information
 License:SUSE-Public-Domain
@@ -36,6 +36,9 @@
 
 %prep
 %setup -q -n pyelftools-%{version}
+# DROP THIS REMOVAL!
+rm test/test_pubtypes.py
+# ^^^ 
https://github.com/eliben/pyelftools/commit/83ad8a220d0fd7a183bf249ad8bbb681227dc266
 
 %build
 %python_build

++ pyelftools-0.25.tar.gz -> pyelftools-0.26.tar.gz ++
 3270 lines of diff (skipped)




commit python-pyelftools for openSUSE:Factory

2019-05-27 Thread root
Hello community,

here is the log from the commit of package python-pyelftools for 
openSUSE:Factory checked in at 2019-05-27 08:39:30

Comparing /work/SRC/openSUSE:Factory/python-pyelftools (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyelftools.new.5148 (New)


Package is "python-pyelftools"

Mon May 27 08:39:30 2019 rev:2 rq:705394 version:0.25

Changes:

--- /work/SRC/openSUSE:Factory/python-pyelftools/python-pyelftools.changes  
2018-05-19 15:44:09.930897453 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pyelftools.new.5148/python-pyelftools.changes
2019-05-27 08:39:39.319041271 +0200
@@ -1,0 +2,20 @@
+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)
+
+---

Old:

  pyelftools-0.24.tar.gz

New:

  pyelftools-0.25.tar.gz



Other differences:
--
++ python-pyelftools.spec ++
--- /var/tmp/diff_new_pack.DTfkwi/_old  2019-05-27 08:39:39.903041043 +0200
+++ /var/tmp/diff_new_pack.DTfkwi/_new  2019-05-27 08:39:39.903041043 +0200
@@ -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 @@
 %install
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+
 %check
 %python_exec test/run_all_unittests.py
 %python_exec test/run_examples_test.py

++ pyelftools-0.24.tar.gz -> pyelftools-0.25.tar.gz ++
 5901 lines of diff (skipped)




commit python-pyelftools for openSUSE:Factory

2018-05-19 Thread root
Hello community,

here is the log from the commit of package python-pyelftools for 
openSUSE:Factory checked in at 2018-05-19 15:44:04

Comparing /work/SRC/openSUSE:Factory/python-pyelftools (Old)
 and  /work/SRC/openSUSE:Factory/.python-pyelftools.new (New)


Package is "python-pyelftools"

Sat May 19 15:44:04 2018 rev:1 rq:610609 version:0.24

Changes:

New Changes file:

--- /dev/null   2018-04-25 19:14:53.472341877 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyelftools.new/python-pyelftools.changes 
2018-05-19 15:44:09.930897453 +0200
@@ -0,0 +1,4 @@
+---
+Fri May 18 13:24:57 UTC 2018 - yousaf.kau...@suse.com
+
+- Intial package 

New:

  pyelftools-0.24.tar.gz
  python-pyelftools.changes
  python-pyelftools.spec



Other differences:
--
++ python-pyelftools.spec ++
#
# spec file for package python-pyelftools
#
# Copyright (c) 2018 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/


%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name:   python-pyelftools
Version:0.24
Release:0
License:SUSE-Public-Domain
Summary:Library for analyzing ELF files and DWARF debugging information
Url:https://github.com/eliben/pyelftools
Group:  Development/Languages/Python
Source: 
https://files.pythonhosted.org/packages/source/p/pyelftools/pyelftools-%{version}.tar.gz
BuildRequires:  python-rpm-macros
BuildRequires:  %{python_module setuptools}
BuildRequires:  fdupes
BuildArch:  noarch

%python_subpackages

%description
pyelftools is a pure python library for analyzing ELF files and DWARF debugging 
information

%prep
%setup -q -n pyelftools-%{version}

%build
%python_build

%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%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
%python_exec test/run_readelf_tests.py || :

%files %{python_files}
%license LICENSE
%doc CHANGES
%python3_only %{_bindir}/readelf.py
%{python_sitelib}/*

%changelog