rpms/python-crypto/EL-4 python-crypto.spec, 1.7, 1.8 python-crypto-x86_64-buildfix.patch, 1.1, NONE

Thorsten Leemhuis thl at fedoraproject.org
Fri Feb 13 17:07:28 UTC 2009


Author: thl

Update of /cvs/pkgs/rpms/python-crypto/EL-4
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8885

Modified Files:
	python-crypto.spec 
Removed Files:
	python-crypto-x86_64-buildfix.patch 
Log Message:
* Fri Feb 13 2009 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.0.1-1.1
- some improvements from fedora branch
-- add patch to fix #485298 / CVE-2009-0544
-- provide pycrypto
-- drop patch0 and fix libdir handling so it works on more arches than x86_64



Index: python-crypto.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-crypto/EL-4/python-crypto.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- python-crypto.spec	17 Aug 2005 19:10:43 -0000	1.7
+++ python-crypto.spec	13 Feb 2009 17:06:57 -0000	1.8
@@ -4,18 +4,23 @@
 Summary:	Cryptography library for Python
 Name:		python-crypto
 Version:	2.0.1
-Release:	1%{?dist}
-License:	Python License (CNRI Python License)
+Release:	1%{?dist}.1
+License:	Public Domain
 Group:		Development/Libraries
 URL:		http://www.amk.ca/python/code/crypto.html
 Source:		http://www.amk.ca/files/python/crypto/pycrypto-2.0.1.tar.gz
-Patch0:		%{name}-x86_64-buildfix.patch
+# patch taken from 
+# http://gitweb2.dlitz.net/?p=crypto/pycrypto-2.x.git;a=commitdiff;h=d1c4875e1f220652fe7ff8358f56dee3b2aba31b
+Patch0: 	%{name}-fix_buffer_overflow.patch
+
 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]")
 
+Provides:	pycrypto = %{version}-%{release}
+
 %description
 Python-crypto is a collection of both secure hash functions (such as MD5 and
 SHA), and various encryption algorithms (AES, DES, IDEA, RSA, ElGamal,
@@ -24,10 +29,8 @@
 
 %prep
 %setup -n pycrypto-%{version} -q
-%ifarch x86_64
-%patch0 -b .patch0
-%endif
-
+sed -i s:/lib:/%_lib:g setup.py
+%patch0 -b .patch0 -p1
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
@@ -76,6 +79,12 @@
 
 
 %changelog
+* Fri Feb 13 2009 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.0.1-1.1
+- some improvements from fedora branch
+-- add patch to fix #485298 / CVE-2009-0544
+-- provide pycrypto
+-- drop patch0 and fix libdir handling so it works on more arches than x86_64
+
 * Wed Aug 17 2005 Thorsten Leemhuis <fedora at leemhuis dot info> - 0:2.0.1-1
 - Update to 2.0.1
 - Use Dist


--- python-crypto-x86_64-buildfix.patch DELETED ---




More information about the fedora-extras-commits mailing list