modify file
This commit is contained in:
parent
356d2743b1
commit
f824545f48
BIN
pyelftools-0.25.tar.gz
Normal file
BIN
pyelftools-0.25.tar.gz
Normal file
Binary file not shown.
@ -1,18 +1,19 @@
|
|||||||
Name: pyelftools
|
Name: pyelftools
|
||||||
Version: 0.24
|
Version: 0.25
|
||||||
Release: 4
|
Release: 2
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
Summary: Parsing ELF and DWARF in Python
|
Summary: Pure-Python library for parsing and analyzing ELF files
|
||||||
URL: https://github.com/eliben/pyelftools
|
URL: https://github.com/eliben/pyelftools
|
||||||
Source0: https://files.pythonhosted.org/packages/source/p/pyelftools/pyelftools-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/p/pyelftools/pyelftools-%{version}.tar.gz
|
||||||
Patch0001: pyelftools-0.24-construct.patch
|
|
||||||
BuildRequires: python2-devel python2-setuptools python2-construct python3-devel python3-setuptools python3-construct
|
BuildRequires: python2-devel python2-setuptools python3-devel python3-setuptools
|
||||||
BuildArch: noarch
|
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 python2-pyelftools
|
%package -n python2-pyelftools
|
||||||
Summary: Parsing ELF and DWARF in Python
|
Summary: Parsing ELF and DWARF in Python
|
||||||
Requires: python2-construct
|
Requires: python2-construct
|
||||||
@ -31,7 +32,6 @@ analyzing ELF files and DWARF debugging information.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
rm -rf elftools/construct
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{py2_build}
|
%{py2_build}
|
||||||
@ -54,12 +54,21 @@ mv %{buildroot}/usr/bin/readelf.py %{buildroot}/usr/bin/pyreadelf
|
|||||||
%files -n python2-pyelftools
|
%files -n python2-pyelftools
|
||||||
%doc CHANGES LICENSE
|
%doc CHANGES LICENSE
|
||||||
%{_bindir}/py2readelf
|
%{_bindir}/py2readelf
|
||||||
%{python2_sitelib}/*
|
%{python2_sitelib}/elftools
|
||||||
|
%{python2_sitelib}/pyelftools-*.egg-info
|
||||||
|
|
||||||
|
|
||||||
%files -n python3-pyelftools
|
%files -n python3-pyelftools
|
||||||
%doc CHANGES LICENSE
|
%doc CHANGES LICENSE
|
||||||
%{_bindir}/pyreadelf
|
%{_bindir}/pyreadelf
|
||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/elftools
|
||||||
|
%{python3_sitelib}/pyelftools-*.egg-info
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 16 2020 wanjiankang<wanjiankang@huawei.com> - 0.25-2
|
||||||
|
- update to 0.25-2
|
||||||
|
|
||||||
* Tue Dec 2 2019 likexin<likexin4@huawei.com> - 0.24-4
|
* Tue Dec 2 2019 likexin<likexin4@huawei.com> - 0.24-4
|
||||||
- Package init
|
- Package init
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user