diff --git a/python-pefile.spec b/python-pefile.spec index c8a276b..340dd31 100644 --- a/python-pefile.spec +++ b/python-pefile.spec @@ -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