rpms/python-blist/devel blist-1.1.1-use-sys-setuptools.patch, NONE, 1.1 python-blist.spec, 1.1, 1.2
Michel Alexandre Salim
salimma at fedoraproject.org
Fri May 21 21:16:16 UTC 2010
Author: salimma
Update of /cvs/pkgs/rpms/python-blist/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv1010/devel
Modified Files:
python-blist.spec
Added Files:
blist-1.1.1-use-sys-setuptools.patch
Log Message:
Remove blist from EL-5; patch setup.py to force use of system setuptools
blist-1.1.1-use-sys-setuptools.patch:
setup.py | 2 --
1 file changed, 2 deletions(-)
--- NEW FILE blist-1.1.1-use-sys-setuptools.patch ---
--- blist-1.1.1/setup.py.use-sys-setuptools 2010-01-31 21:32:34.000000000 +0100
+++ blist-1.1.1/setup.py 2010-05-21 22:58:18.671112471 +0200
@@ -1,8 +1,6 @@
#!/usr/bin/env python
import sys
-import distribute_setup
-distribute_setup.use_setuptools()
from setuptools import setup, Extension
setup(name='blist',
Index: python-blist.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-blist/devel/python-blist.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- python-blist.spec 21 May 2010 19:33:25 -0000 1.1
+++ python-blist.spec 21 May 2010 21:16:16 -0000 1.2
@@ -9,6 +9,7 @@ Group: Development/Languages
License: BSD
URL: http://pypi.python.org/pypi/blist/
Source0: http://pypi.python.org/packages/source/b/blist/blist-%{version}.tar.gz
+Patch0: blist-1.1.1-use-sys-setuptools.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python-devel python-setuptools
@@ -24,6 +25,8 @@ inefficient if you need to create a larg
%prep
%setup -q -n blist-%{version}
+%patch0 -p1 -b .use-sys-setuptools
+
# Replace the not-zip-safe file; keep rpmlint happy by not having
# CRLF line endings
echo > not-zip-safe
More information about the scm-commits
mailing list