Compare commits
No commits in common. "a5fcc1c0f9c6e586a799e800e6ddfebff1d5d692" and "405816463c0e35aee9f9a80b8b733056ae590721" have entirely different histories.
a5fcc1c0f9
...
405816463c
BIN
pyelftools-0.25.tar.gz
Normal file
BIN
pyelftools-0.25.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,22 +1,30 @@
|
|||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
Name: pyelftools
|
Name: pyelftools
|
||||||
Version: 0.29
|
Version: 0.25
|
||||||
Release: 1
|
Release: 2
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
Summary: Pure-Python library for parsing and analyzing ELF files
|
Summary: Pure-Python library for parsing and analyzing ELF files
|
||||||
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://files.pythonhosted.org/packages/source/p/pyelftools/pyelftools-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: python2-devel python2-setuptools python3-devel python3-setuptools
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides a python library for parsing and
|
This package provides a python library for parsing and
|
||||||
analyzing ELF files and DWARF debugging information.
|
analyzing ELF files and DWARF debugging information.
|
||||||
|
|
||||||
%package -n python3-pyelftools
|
|
||||||
Provides: bundled(python3-construct) = 2.6
|
%package -n python2-pyelftools
|
||||||
BuildRequires: python3-devel python3-setuptools
|
|
||||||
BuildArch: noarch
|
|
||||||
Summary: Parsing ELF and DWARF in Python
|
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
|
||||||
|
Summary: Parsing ELF and DWARF in Python
|
||||||
|
Requires: python3-construct
|
||||||
%{?python_provide:%python_provide python3-pyelftools}
|
%{?python_provide:%python_provide python3-pyelftools}
|
||||||
%description -n python3-pyelftools
|
%description -n python3-pyelftools
|
||||||
This package provides a python library for parsing and
|
This package provides a python library for parsing and
|
||||||
@ -26,38 +34,38 @@ analyzing ELF files and DWARF debugging information.
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%{py2_build}
|
||||||
%{py3_build}
|
%{py3_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%{py2_install}
|
||||||
|
mv %{buildroot}/usr/bin/readelf.py %{buildroot}/usr/bin/py2readelf
|
||||||
%{py3_install}
|
%{py3_install}
|
||||||
mv %{buildroot}/usr/bin/readelf.py %{buildroot}/usr/bin/pyreadelf
|
mv %{buildroot}/usr/bin/readelf.py %{buildroot}/usr/bin/pyreadelf
|
||||||
|
|
||||||
%check
|
%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_all_unittests.py
|
||||||
%{__python3} test/run_examples_test.py
|
%{__python3} test/run_examples_test.py
|
||||||
%{__python3} test/run_readelf_tests.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
|
%files -n python3-pyelftools
|
||||||
%license LICENSE
|
%doc CHANGES LICENSE
|
||||||
%doc CHANGES
|
|
||||||
%{_bindir}/pyreadelf
|
%{_bindir}/pyreadelf
|
||||||
%{python3_sitelib}/elftools
|
%{python3_sitelib}/elftools
|
||||||
%{python3_sitelib}/pyelftools-*.egg-info
|
%{python3_sitelib}/pyelftools-*.egg-info
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jan 16 2020 wanjiankang<wanjiankang@huawei.com> - 0.25-2
|
||||||
- update to 0.25-2
|
- update to 0.25-2
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
version_control: pypi
|
|
||||||
src_repo: pyelftools
|
|
||||||
tag_prefix: "^v"
|
|
||||||
seperator: "."
|
|
||||||
Loading…
x
Reference in New Issue
Block a user