rpms/python-imdb/F-13 python-imdb-4.5.1-setup.patch, NONE, 1.1 python-imdb.spec, 1.12, 1.13
Jon Ciesla
limb at fedoraproject.org
Wed Mar 24 18:07:26 UTC 2010
Author: limb
Update of /cvs/pkgs/rpms/python-imdb/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv9216/F-13
Modified Files:
python-imdb.spec
Added Files:
python-imdb-4.5.1-setup.patch
Log Message:
Setuptools patch.
python-imdb-4.5.1-setup.patch:
setup.py | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
--- NEW FILE python-imdb-4.5.1-setup.patch ---
diff -up IMDbPY-4.5.1/setup.py.bak IMDbPY-4.5.1/setup.py
--- IMDbPY-4.5.1/setup.py.bak 2010-03-24 13:30:47.012617991 -0400
+++ IMDbPY-4.5.1/setup.py 2010-03-24 13:31:12.167745515 -0400
@@ -1,10 +1,12 @@
#!/usr/bin/env python
import os
-import ez_setup
-ez_setup.use_setuptools()
+try:
+ import setuptools
+except ImportError:
+ import ez_setup
+ ez_setup.use_setuptools()
-import setuptools
# version of the software; in SVN this represents the _next_ release.
# setuptools will automatically add 'dev-rREVISION'.
Index: python-imdb.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-imdb/F-13/python-imdb.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- python-imdb.spec 23 Mar 2010 13:29:20 -0000 1.12
+++ python-imdb.spec 24 Mar 2010 18:07:26 -0000 1.13
@@ -6,7 +6,7 @@
Name: python-imdb
Provides: IMDbPY = %{version}-%{release}
Version: 4.5.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Retrieve and manage the data of the IMDb movie database
Group: Development/Languages
@@ -85,6 +85,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Mar 24 2010 Jon Ciesla <limb at jcomserv.net> - 4.5.1-2
+- Patch to fix setuptools behaviour.
+
* Tue Mar 23 2010 Jon Ciesla <limb at jcomserv.net> - 4.5.1-1
- New upstream, fixes data retrieval issue, BZ 576027, 576028.
More information about the scm-commits
mailing list