Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
a5fcc1c0f9
!16 update version from 0.27 to 0.29
From: @hua11111 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-01-17 01:34:29 +00:00
hua
4adef74e44 upgrade version to v0.29 2022-11-20 19:56:57 +08:00
openeuler-ci-bot
fc51f2f362
!10 upgrade version to 0.27
From: @duyiwei7w 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
2022-06-21 09:05:56 +00:00
duyiwei
764580c13c upgrade version to 0.27 2022-06-15 13:37:29 +08:00
openeuler-ci-bot
88a49ab30c
!9 修复pyelftools在master分支基于python3.10编译失败
Merge pull request !9 from caodongxia/master
2022-01-29 03:19:29 +00:00
caodongxia
7763c4c4db fix collections import MutableMapping 2022-01-29 10:59:34 +08:00
openeuler-ci-bot
a1c8a479f3 !6 disable python2
From: @jackie_wu123
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2020-11-02 11:59:20 +08:00
jackie_wu
6817a5daea disable python2 2020-11-02 09:46:22 +08:00
openeuler-ci-bot
cd9f8430b2 !3 add yaml file
Merge pull request !3 from ultra_planet/master
2020-05-11 15:18:18 +08:00
ultra_planet
dd2806bdca add yaml file 2020-05-09 09:36:30 +08:00
4 changed files with 26 additions and 30 deletions

Binary file not shown.

BIN
pyelftools-0.29.tar.gz Normal file

Binary file not shown.

View File

@ -1,30 +1,22 @@
%global debug_package %{nil}
Name: pyelftools
Version: 0.25
Release: 2
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://files.pythonhosted.org/packages/source/p/pyelftools/pyelftools-%{version}.tar.gz
BuildRequires: python2-devel python2-setuptools 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 python2-pyelftools
Summary: Parsing ELF and DWARF in Python
Requires: python2-construct
%{?python_provide:%python_provide python2-pyelftools}
%description -n python2-pyelftools
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
@ -34,38 +26,38 @@ analyzing ELF files and DWARF debugging information.
%autosetup -p1
%build
%{py2_build}
%{py3_build}
%install
%{py2_install}
mv %{buildroot}/usr/bin/readelf.py %{buildroot}/usr/bin/py2readelf
%{py3_install}
mv %{buildroot}/usr/bin/readelf.py %{buildroot}/usr/bin/pyreadelf
%check
%{__python2} test/run_all_unittests.py
%{__python2} test/run_examples_test.py
%{__python2} test/run_readelf_tests.py || :
%{__python3} test/run_all_unittests.py
%{__python3} test/run_examples_test.py
%{__python3} test/run_readelf_tests.py || :
%files -n python2-pyelftools
%doc CHANGES LICENSE
%{_bindir}/py2readelf
%{python2_sitelib}/elftools
%{python2_sitelib}/pyelftools-*.egg-info
%files -n python3-pyelftools
%doc CHANGES LICENSE
%license LICENSE
%doc CHANGES
%{_bindir}/pyreadelf
%{python3_sitelib}/elftools
%{python3_sitelib}/pyelftools-*.egg-info
%changelog
* Fri Nov 04 2022 hua <dchang@zhixundn.com> - 0.29-1
- upgrade version to 0.29
* Wed Jun 15 2022 duyiwei <duyiwei@kylinos.cn> - 0.27-1
- upgrade version to 0.27
* Sat Jan 29 2022 caodongxia <caodongxia@huawei.com> - 0.25-4
- fix collections import MutableMapping
* Wed Oct 21 2020 wutao <wutao61@huawei.com> - 0.25-3
- delete python2 modules
* Thu Jan 16 2020 wanjiankang<wanjiankang@huawei.com> - 0.25-2
- update to 0.25-2

4
pyelftools.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: pyelftools
tag_prefix: "^v"
seperator: "."