- Patch to remove extraneous setuptools version dep from build.

This commit is contained in:
Toshio くらとみ 2009-03-15 06:35:06 +00:00
commit b503cc3e54
2 changed files with 21 additions and 3 deletions

View file

@ -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

View file

@ -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 <toshio@fedoraproject.org> - 0.5.1-2
- Patch to remove extraneous setuptools version dep from build.
* Fri Jan 2 2009 Michel Salim <salimma@fedoraproject.org> - 0.5.1-1
- Update to 0.5.1