This commit is contained in:
Terje Rosten 2022-02-13 10:14:40 +01:00
parent d449b08232
commit 200f89f8bf
2 changed files with 9 additions and 9 deletions

View File

@ -3,22 +3,20 @@
Summary: Pure-Python library for parsing and analyzing ELF files Summary: Pure-Python library for parsing and analyzing ELF files
Name: pyelftools Name: pyelftools
Version: 0.27 Version: 0.28
Release: 6%{?dist} Release: 1%{?dist}
License: Public Domain License: Public Domain
URL: https://github.com/eliben/pyelftools URL: https://github.com/eliben/pyelftools
Source0: https://github.com/eliben/pyelftools/archive/v%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/eliben/pyelftools/archive/v%{version}/%{name}-%{version}.tar.gz
# https://github.com/eliben/pyelftools/issues/377
Patch0: %{name}-py311.patch
%global _description \ %global _description \
Pure-Python library for parsing and analyzing ELF files\ Pure-Python library for parsing and analyzing ELF files\
and DWARF debugging information. and DWARF debugging information.
%description %_description %description %_description
%package -n python3-%{name} %package -n python3-%{name}
Summary: %{summary} Summary: %{summary}
# https://github.com/eliben/pyelftools/issues/180 # https://github.com/eliben/pyelftools/issues/180
Provides: bundled(python3-construct) = 2.6 Provides: bundled(python3-construct) = 2.6
BuildRequires: %{_bindir}/readelf BuildRequires: %{_bindir}/readelf
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
@ -27,8 +25,7 @@ BuildArch: noarch
%description -n python3-%{name} %_description %description -n python3-%{name} %_description
%prep %prep
%setup -q %autosetup
%patch0 -p1 -b .py311
%ifnarch x86_64 %ifnarch x86_64
rm test/external_tools/readelf rm test/external_tools/readelf
%endif %endif
@ -62,6 +59,9 @@ popd
%{python3_sitelib}/pyelftools-*.egg-info %{python3_sitelib}/pyelftools-*.egg-info
%changelog %changelog
* Sun Feb 13 2022 Terje Rosten <terje.rosten@ntnu.no> - 0.28-1
- 0.28
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.27-6 * Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.27-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (pyelftools-0.27.tar.gz) = bb0a00e5500016e3d4f64be0a728e190f84b11a805f78d668b5a74716a30400e6794946f198ef4a3f3b8f64a63deb1b5a96180b09e56b7357b988b28e25fad0a SHA512 (pyelftools-0.28.tar.gz) = 005163a53fe12baad0998d60d531e3ce4201236b7b042e3c28d7e68f9c40586f94a2576be6918be991a3bf464f2ca55700c0475a6e8c7b05b4342a6f5bbf3354