1 Star 0 Fork 13

liubo/pyelftools

forked from src-openEuler/pyelftools 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pyelftools.spec 1.77 KB
一键复制 编辑 原始数据 按行查看 历史
hua 提交于 2022-11-20 19:56 . upgrade version to v0.29
%global debug_package %{nil}
Name: pyelftools
Version: 0.29
Release: 1
License: Public Domain
Summary: Pure-Python library for parsing and analyzing ELF files
URL: https://github.com/eliben/pyelftools
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
%{?python_provide:%python_provide python3-pyelftools}
%description -n python3-pyelftools
This package provides a python library for parsing and
analyzing ELF files and DWARF debugging information.
%prep
%autosetup -p1
%build
%{py3_build}
%install
%{py3_install}
mv %{buildroot}/usr/bin/readelf.py %{buildroot}/usr/bin/pyreadelf
%check
%{__python3} test/run_all_unittests.py
%{__python3} test/run_examples_test.py
%{__python3} test/run_readelf_tests.py || :
%files -n python3-pyelftools
%license LICENSE
%doc CHANGES
%{_bindir}/pyreadelf
%{python3_sitelib}/elftools
%{python3_sitelib}/pyelftools-*.egg-info
%changelog
* Fri Nov 04 2022 hua <[email protected]> - 0.29-1
- upgrade version to 0.29
* Wed Jun 15 2022 duyiwei <[email protected]> - 0.27-1
- upgrade version to 0.27
* Sat Jan 29 2022 caodongxia <[email protected]> - 0.25-4
- fix collections import MutableMapping
* Wed Oct 21 2020 wutao <[email protected]> - 0.25-3
- delete python2 modules
* Thu Jan 16 2020 wanjiankang<[email protected]> - 0.25-2
- update to 0.25-2
* Tue Dec 2 2019 likexin<[email protected]> - 0.24-4
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lb1107039128/pyelftools.git
[email protected]:lb1107039128/pyelftools.git
lb1107039128
pyelftools
pyelftools
master

搜索帮助