Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyelftools for 
openSUSE:Factory checked in at 2024-01-17 22:14:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyelftools (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyelftools.new.16006 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyelftools"

Wed Jan 17 22:14:52 2024 rev:9 rq:1139248 version:0.30

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyelftools/python-pyelftools.changes      
2023-12-15 21:47:21.806334743 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pyelftools.new.16006/python-pyelftools.changes
   2024-01-17 22:14:54.650139404 +0100
@@ -1,0 +2,5 @@
+Tue Jan 16 17:04:54 UTC 2024 - Daniel Garcia <[email protected]>
+
+- Add %{?sle15_python_module_pythons}
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyelftools.spec ++++++
--- /var/tmp/diff_new_pack.HkHtoI/_old  2024-01-17 22:14:55.266162025 +0100
+++ /var/tmp/diff_new_pack.HkHtoI/_new  2024-01-17 22:14:55.266162025 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyelftools
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
 Name:           python-pyelftools
 Version:        0.30
 Release:        0
@@ -25,7 +25,9 @@
 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_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires(post): update-alternatives
@@ -37,13 +39,13 @@
 pyelftools is a pure python library for analyzing ELF files and DWARF 
debugging information
 
 %prep
-%setup -q -n pyelftools-%{version}
+%autosetup -p1 -n pyelftools-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/readelf.py
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
@@ -66,5 +68,6 @@
 %license LICENSE
 %doc CHANGES
 %python_alternative %{_bindir}/readelf.py
-%{python_sitelib}/*
+%{python_sitelib}/elftools
+%{python_sitelib}/pyelftools-%{version}*-info
 

Reply via email to