Macronization.
This commit is contained in:
parent
5b636be224
commit
324990856c
@ -5,7 +5,10 @@ Release: 2%{?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-139.tar.gz
|
||||
|
||||
%global realver $(echo %{version} | tr "_" "-")
|
||||
|
||||
Source0: http://pefile.googlecode.com/files/pefile-%{realver}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python-setuptools
|
||||
@ -29,7 +32,7 @@ Some of the tasks that pefile makes possible are:
|
||||
* PEiD signature generation
|
||||
|
||||
%prep
|
||||
%setup -q -n pefile-1.2.10-139
|
||||
%setup -qn pefile-%{realver}
|
||||
|
||||
# Fix end-of-line encoding of the license file:
|
||||
sed -i 's/\r//' COPYING
|
||||
|
Loading…
Reference in New Issue
Block a user