New version fix.

This commit is contained in:
Koji 2013-08-09 10:18:19 +08:00
parent fa7a41de43
commit 4d28476fdb

View File

@ -5,9 +5,10 @@ Release: 1%{?dist}
Summary: Python module for working with Portable Executable files
License: MIT
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-123.tar.gz
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-setuptools
%description
pefile is a multi-platform Python module to read and work with Portable
@ -37,7 +38,7 @@ sed -i 's/\r//' COPYING
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%files
%doc COPYING README