rpms/pyOpenSSL/EL-5 pyOpenSSL-setuptools.patch, NONE, 1.1 pyOpenSSL.spec, 1.32, 1.33
Luke Macken
lmacken at fedoraproject.org
Wed Jul 8 03:28:09 UTC 2009
Author: lmacken
Update of /cvs/pkgs/rpms/pyOpenSSL/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11976
Modified Files:
pyOpenSSL.spec
Added Files:
pyOpenSSL-setuptools.patch
Log Message:
Apply a patch to use setuptools instead of distutils, so we can get egg-info on EL-5
pyOpenSSL-setuptools.patch:
--- NEW FILE pyOpenSSL-setuptools.patch ---
--- setup.py.orig 2009-06-03 13:43:15.000000000 -0400
+++ setup.py 2009-06-03 13:43:23.000000000 -0400
@@ -10,7 +10,7 @@
Installation script for the OpenSSL module
"""
-from distutils.core import setup, Extension
+from setuptools import setup, Extension
import os, sys
from version import __version__
Index: pyOpenSSL.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pyOpenSSL/EL-5/pyOpenSSL.spec,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -p -r1.32 -r1.33
--- pyOpenSSL.spec 26 Feb 2009 19:40:26 -0000 1.32
+++ pyOpenSSL.spec 8 Jul 2009 03:27:38 -0000 1.33
@@ -3,18 +3,20 @@
Summary: Python wrapper module around the OpenSSL library
Name: pyOpenSSL
Version: 0.7
-Release: 5%{?dist}
+Release: 6%{?dist}
Source0: http://pyopenssl.sf.net/%{name}-%{version}.tar.gz
Patch0: pyOpenSSL-0.7-openssl.patch
Patch2: pyOpenSSL-elinks.patch
Patch3: pyOpenSSL-nopdfout.patch
Patch4: pyOpenSSL-threadsafe.patch
+Patch5: pyOpenSSL-setuptools.patch
License: LGPLv2+
Group: Development/Libraries
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Url: http://pyopenssl.sourceforge.net/
BuildRequires: elinks openssl-devel python-devel
BuildRequires: tetex-dvips tetex-latex latex2html
+BuildRequires: python-setuptools-devel
%description
High-level wrapper around a subset of the OpenSSL library, includes
@@ -30,6 +32,7 @@ High-level wrapper around a subset of th
%patch2 -p1 -b .elinks
%patch3 -p1 -b .nopdfout
%patch4 -p1 -b .threadsafe
+%patch5 -p0 -b .setuptools
# Fix permissions for debuginfo package
%{__chmod} -x src/ssl/connection.c
@@ -53,6 +56,10 @@ CFLAGS="%{optflags}" %{__python} setup.p
%{python_sitearch}/%{name}*.egg-info
%changelog
+* Wed Jun 03 2009 Luke Macken <lmacken at redhat.com> - 0.7-6
+- Apply a patch to use setuptools instead of distutils, so we can get egg-info
+ on EL-5
+
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the fedora-extras-commits
mailing list