Add a patch to use our own setuptools package
This commit is contained in:
parent
746537fbfa
commit
31070382c6
9
python-sphinx-setuptools.patch
Normal file
9
python-sphinx-setuptools.patch
Normal file
@ -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
|
@ -5,13 +5,14 @@
|
|||||||
|
|
||||||
Name: python-sphinx
|
Name: python-sphinx
|
||||||
Version: 0.6.1
|
Version: 0.6.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Python documentation generator
|
Summary: Python documentation generator
|
||||||
|
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://sphinx.pocoo.org/
|
URL: http://sphinx.pocoo.org/
|
||||||
Source0: http://pypi.python.org/packages/source/S/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -68,6 +69,7 @@ This package contains documentation in rST and HTML formats
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{upstream_name}-%{version}
|
%setup -q -n %{upstream_name}-%{version}
|
||||||
|
%patch0 -p0 -b .setuptools
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -107,6 +109,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 05 2009 Luke Macken <lmacken@redhat.com> - 0.6.1-2
|
||||||
|
- Add a patch to use our own setuptools package
|
||||||
|
|
||||||
* Fri Apr 17 2009 Michel Salim <salimma@fedoraproject.org> - 0.6.1-1
|
* Fri Apr 17 2009 Michel Salim <salimma@fedoraproject.org> - 0.6.1-1
|
||||||
- Update to 0.6.1
|
- Update to 0.6.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user