From b503cc3e54d74ff95e5bab7a3ab5b87bba7045c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toshio=20=E3=81=8F=E3=82=89=E3=81=A8=E3=81=BF?= Date: Sun, 15 Mar 2009 06:35:06 +0000 Subject: [PATCH] - Patch to remove extraneous setuptools version dep from build. --- python-sphinx-no-ez_setup.patch | 12 ++++++++++++ python-sphinx.spec | 12 +++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 python-sphinx-no-ez_setup.patch diff --git a/python-sphinx-no-ez_setup.patch b/python-sphinx-no-ez_setup.patch new file mode 100644 index 0000000..1af7d8a --- /dev/null +++ b/python-sphinx-no-ez_setup.patch @@ -0,0 +1,12 @@ +Index: Sphinx-0.5.1/setup.py +=================================================================== +--- Sphinx-0.5.1.orig/setup.py ++++ Sphinx-0.5.1/setup.py +@@ -1,7 +1,4 @@ + # -*- coding: utf-8 -*- +-import ez_setup +-ez_setup.use_setuptools() +- + import os + import sys + from setuptools import setup, find_packages diff --git a/python-sphinx.spec b/python-sphinx.spec index 9cdd9fc..3e8369f 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -5,13 +5,16 @@ Name: python-sphinx Version: 0.5.1 -Release: 1%{?dist} -Summary: Python documentation generator +Release: 2%{?dist} +Summary: Python documentation generator:wq + Group: Development/Tools License: BSD URL: http://sphinx.pocoo.org/ Source0: http://pypi.python.org/packages/source/S/%{upstream_name}/%{upstream_name}-%{version}.tar.gz +# Remove need for a spcific version of seutptools +Patch0: python-sphinx-no-ez_setup.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -68,7 +71,7 @@ This package contains documentation in rST and HTML formats %prep %setup -q -n %{upstream_name}-%{version} - +%patch0 -p1 %build %{__python} setup.py build @@ -107,6 +110,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Mar 14 2009 Toshio Kuratomi - 0.5.1-2 +- Patch to remove extraneous setuptools version dep from build. + * Fri Jan 2 2009 Michel Salim - 0.5.1-1 - Update to 0.5.1