Update.
This commit is contained in:
parent
6234df9921
commit
fa7a41de43
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
pefile-1.2.10-63.tar.gz
|
pefile-1.2.10-63.tar.gz
|
||||||
|
/pefile-1.2.10-123.tar.gz
|
||||||
|
@ -1,50 +1,52 @@
|
|||||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
||||||
|
|
||||||
Name: python-pefile
|
Name: python-pefile
|
||||||
# upstream version embeds a dash, we replace this with an underscore:
|
# upstream version embeds a dash, we replace this with an underscore:
|
||||||
Version: 1.2.10_63
|
Version: 1.2.10_123
|
||||||
Release: 8%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Python module for working with Portable Executable files
|
Summary: Python module for working with Portable Executable files
|
||||||
|
|
||||||
Group: Development/Languages
|
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://code.google.com/p/pefile/
|
URL: http://code.google.com/p/pefile/
|
||||||
Source0: http://pefile.googlecode.com/files/pefile-1.2.10-63.tar.gz
|
Source0: http://pefile.googlecode.com/files/pefile-1.2.10-63.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python-devel
|
BuildRequires: python2-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
pefile is a platform-independent Python module for reading and working with
|
pefile is a multi-platform Python module to read and work with Portable
|
||||||
Portable Executable (aka PE) files, most commonly known as .exe and .dll files.
|
Executable (aka PE) files. Most of the information in the PE Header is
|
||||||
|
accessible, as well as all the sections, section's information and data.
|
||||||
|
|
||||||
|
pefile requires some basic understanding of the layout of a PE file. Armed
|
||||||
|
with it it's possible to explore nearly every single feature of the file.
|
||||||
|
|
||||||
|
Some of the tasks that pefile makes possible are:
|
||||||
|
|
||||||
|
* Modifying and writing back to the PE image
|
||||||
|
* Header Inspection
|
||||||
|
* Sections analysis
|
||||||
|
* Retrieving data
|
||||||
|
* Warnings for suspicious and malformed values
|
||||||
|
* Packer detection with PEiD’s signatures
|
||||||
|
* PEiD signature generation
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pefile-1.2.10-63
|
%setup -q -n pefile-1.2.10-123
|
||||||
|
|
||||||
# Fix end-of-line encoding of the license file:
|
# Fix end-of-line encoding of the license file:
|
||||||
%{__sed} -i 's/\r//' COPYING
|
sed -i 's/\r//' COPYING
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python} setup.py build
|
%{__python} setup.py build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%doc COPYING README
|
||||||
%doc CHANGES_up_to_1.2.6 COPYING README
|
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 08 2013 Christopher Meng <rpm@cicku.me> - 1.2.10_123-1
|
||||||
|
- Update to new version.
|
||||||
|
|
||||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.10_63-8
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.10_63-8
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user