!14 【openEuler-22.03-LTS-Next】upgrade version to 0.27

From: @wu-leilei 
Reviewed-by: @licihua 
Signed-off-by: @licihua
This commit is contained in:
openeuler-ci-bot 2022-10-13 08:34:29 +00:00 committed by Gitee
commit df6e95f2da
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 13 additions and 8 deletions

Binary file not shown.

BIN
pyelftools-0.27.tar.gz Normal file

Binary file not shown.

View File

@ -1,21 +1,22 @@
%global debug_package %{nil}
Name: pyelftools
Version: 0.25
Release: 3
Version: 0.27
Release: 1
License: Public Domain
Summary: Pure-Python library for parsing and analyzing ELF files
URL: https://github.com/eliben/pyelftools
Source0: https://files.pythonhosted.org/packages/source/p/pyelftools/pyelftools-%{version}.tar.gz
BuildRequires: python3-devel python3-setuptools
BuildArch: noarch
Source0: https://github.com/eliben/pyelftools/archive/v%{version}/%{name}-%{version}.tar.gz
%description
This package provides a python library for parsing and
analyzing ELF files and DWARF debugging information.
%package -n python3-pyelftools
Provides: bundled(python3-construct) = 2.6
BuildRequires: python3-devel python3-setuptools
BuildArch: noarch
Summary: Parsing ELF and DWARF in Python
Requires: python3-construct
%{?python_provide:%python_provide python3-pyelftools}
%description -n python3-pyelftools
This package provides a python library for parsing and
@ -37,13 +38,17 @@ mv %{buildroot}/usr/bin/readelf.py %{buildroot}/usr/bin/pyreadelf
%{__python3} test/run_readelf_tests.py || :
%files -n python3-pyelftools
%doc CHANGES LICENSE
%license LICENSE
%doc CHANGES
%{_bindir}/pyreadelf
%{python3_sitelib}/elftools
%{python3_sitelib}/pyelftools-*.egg-info
%changelog
* Thu Oct 13 2022 wulei <wulei80@h-partners.com> - 0.27-1
- upgrade version to 0.27
* Wed Oct 21 2020 wutao <wutao61@huawei.com> - 0.25-3
- delete python2 modules