From 31070382c67ed7dad3c3648dce55ddd9b3e0807b Mon Sep 17 00:00:00 2001 From: Luke Macken Date: Jun 05 2009 15:56:25 +0000 Subject: Add a patch to use our own setuptools package --- diff --git a/python-sphinx-setuptools.patch b/python-sphinx-setuptools.patch new file mode 100644 index 0000000..c4cfb6a --- /dev/null +++ b/python-sphinx-setuptools.patch @@ -0,0 +1,9 @@ +--- setup.py.orig 2009-06-05 07:42:36.000000000 -0400 ++++ setup.py 2009-06-05 07:42:40.000000000 -0400 +@@ -1,6 +1,4 @@ + # -*- coding: utf-8 -*- +-import ez_setup +-ez_setup.use_setuptools() + + import os + import sys diff --git a/python-sphinx.spec b/python-sphinx.spec index 9d6d8b9..26c003b 100644 --- a/python-sphinx.spec +++ b/python-sphinx.spec @@ -5,13 +5,14 @@ Name: python-sphinx Version: 0.6.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python documentation generator 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 +Patch0: %{name}-setuptools.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -68,6 +69,7 @@ This package contains documentation in rST and HTML formats %prep %setup -q -n %{upstream_name}-%{version} +%patch0 -p0 -b .setuptools %build @@ -107,6 +109,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Fri Jun 05 2009 Luke Macken - 0.6.1-2 +- Add a patch to use our own setuptools package + * Fri Apr 17 2009 Michel Salim - 0.6.1-1 - Update to 0.6.1