[packages/python3-elftools] Up to 0.33
arekm
arekm at pld-linux.org
Thu Nov 12 08:52:19 CET 2026
commit f6b4091ab9e006aaa5f3e4148386e6ac31880f3f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 12 01:50:33 2026 +0100
Up to 0.33
python3-elftools.spec | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
---
diff --git a/python3-elftools.spec b/python3-elftools.spec
index c6c6194..3e02dec 100644
--- a/python3-elftools.spec
+++ b/python3-elftools.spec
@@ -6,25 +6,27 @@
Summary: Pure-Python library for parsing and analyzing ELF files
Summary(pl.UTF-8): Czysto pythonowa biblioteka do analizy plików ELF
Name: python3-%{module}
-Version: 0.32
+Version: 0.33
Release: 1
License: public domain
Group: Libraries/Python
#Source0Download: https://pypi.org/simple/pyelftools/
Source0: https://files.pythonhosted.org/packages/source/p/pyelftools/pyelftools-%{version}.tar.gz
-# Source0-md5: 240cf39dc5dad992f25cb5a4e4244f88
+# Source0-md5: fe803bd1cf061e5330660a103d9c82bb
URL: https://github.com/eliben/pyelftools
-BuildRequires: python3-devel >= 1:3.2
+BuildRequires: python3-build
+BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.10
BuildRequires: python3-setuptools >= 1:46.4.0
BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
+BuildRequires: rpmbuild(macros) >= 2.044
%if %{with tests}
# readelf
BuildRequires: binutils
# llvm-dwarfdump
BuildRequires: llvm
%endif
-Requires: python3-modules >= 1:3.2
+Requires: python3-modules >= 1:3.10
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -47,7 +49,7 @@ ln -sf /usr/bin/llvm-dwarfdump test/external_tools/llvm-dwarfdump
%endif
%build
-%py3_build
+%py3_build_pyproject
%if %{with tests}
%{__python3} ./test/all_tests.py
@@ -56,7 +58,7 @@ ln -sf /usr/bin/llvm-dwarfdump test/external_tools/llvm-dwarfdump
%install
rm -rf $RPM_BUILD_ROOT
-%py3_install
+%py3_install_pyproject
# readelf clone example
%{__rm} $RPM_BUILD_ROOT%{_bindir}/readelf.py
@@ -66,6 +68,6 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc CHANGES LICENSE README.rst
+%doc CHANGES LICENSE README.md
%{py3_sitescriptdir}/%{module}
-%{py3_sitescriptdir}/pyelftools-%{version}-py*.egg-info
+%{py3_sitescriptdir}/pyelftools-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-elftools.git/commitdiff/f6b4091ab9e006aaa5f3e4148386e6ac31880f3f
More information about the pld-cvs-commit
mailing list