rpms/python-repoze-who-testutil/devel python-repoze-who-testutil-setuptools.patch, NONE, 1.1 python-repoze-who-testutil.spec, 1.1, 1.2
Luke Macken
lmacken at fedoraproject.org
Fri Jun 5 21:17:46 UTC 2009
Author: lmacken
Update of /cvs/pkgs/rpms/python-repoze-who-testutil/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4270
Modified Files:
python-repoze-who-testutil.spec
Added Files:
python-repoze-who-testutil-setuptools.patch
Log Message:
Patch the setup.py to use our own setuptools package
python-repoze-who-testutil-setuptools.patch:
--- NEW FILE python-repoze-who-testutil-setuptools.patch ---
--- setup.py.orig 2009-06-05 07:45:24.000000000 -0400
+++ setup.py 2009-06-05 07:45:28.000000000 -0400
@@ -15,8 +15,6 @@
import os
-from ez_setup import use_setuptools
-use_setuptools()
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
Index: python-repoze-who-testutil.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-repoze-who-testutil/devel/python-repoze-who-testutil.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- python-repoze-who-testutil.spec 27 May 2009 15:36:22 -0000 1.1
+++ python-repoze-who-testutil.spec 5 Jun 2009 21:17:16 -0000 1.2
@@ -3,13 +3,15 @@
Name: python-repoze-who-testutil
Version: 1.0
-Release: 0.2.%{rcver}%{?dist}
+Release: 0.3.%{rcver}%{?dist}
Summary: Test utilities for repoze.who-powered applications
Group: Development/Languages
License: BSD
URL: http://code.gustavonarea.net/repoze.who-testutil/
Source0: http://pypi.python.org/packages/source/r/repoze.who-testutil/repoze.who-testutil-%{version}%{rcver}.tar.gz
-Source1: http://repoze.org/LICENSE.txt
+Source1: http://repoze.org/LICENSE.txt
+
+Patch0: %{name}-setuptools.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel, python-setuptools-devel
@@ -32,6 +34,7 @@ method changes.
%prep
%setup -q -n repoze.who-testutil-%{version}%{rcver}
cp %{SOURCE1} .
+%patch0 -p0 -b .setuptools
%build
%{__python} setup.py build
@@ -49,10 +52,13 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
-%doc README.txt LICENSE.txt
+%doc README.txt
%{python_sitelib}/*
%changelog
+* Fri Jun 05 2009 Luke Macken <lmacken at redhat.com> - 1.0-0.3.rc1
+- Patch the setup.py to use our own setuptools package
+
* Wed May 27 2009 Tom "spot" Callaway <tcallawa at redhat.com> - 1.0-0.2.rc1
- include license copy
More information about the fedora-extras-commits
mailing list