|
|
|
@ -1,19 +1,18 @@
|
|
|
|
|
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
|
|
|
|
|
Summary: A cryptography library for Python.
|
|
|
|
|
Summary: Cryptography library for Python
|
|
|
|
|
Name: python-crypto
|
|
|
|
|
Version: 2.0
|
|
|
|
|
Epoch: 0
|
|
|
|
|
Release: 2
|
|
|
|
|
License: Python License (CNRI Python License)
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://www.amk.ca/python/code/crypto.html
|
|
|
|
|
Source: http://www.amk.ca/files/python/crypto/pycrypto-2.0.tar.gz
|
|
|
|
|
Patch0: %{name}-x86_64-buildfix.patch
|
|
|
|
|
BuildRequires: python >= 0:2.2
|
|
|
|
|
BuildRequires: python-devel >= 0:2.2
|
|
|
|
|
BuildRequires: gmp-devel >= 0:4.1
|
|
|
|
|
BuildRequires: python >= 2.2
|
|
|
|
|
BuildRequires: python-devel >= 2.2
|
|
|
|
|
BuildRequires: gmp-devel >= 4.1
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot-%(%{__id_u} -n)
|
|
|
|
|
Requires: python-abi = %(%{__python} -c "import sys ; print sys.version[:3]")
|
|
|
|
|
|
|
|
|
|