[django-threaded-multihost] Add pactch to remove setuptools_hg dependency.

kumarpraveen kumarpraveen at fedoraproject.org
Thu Jul 14 06:11:38 UTC 2011


commit a2fc2e3cc1893eb297afc3c2065a477bb641cfbd
Author: Praveen <daredevil at localhost.localdomain>
Date:   Thu Jul 14 11:40:43 2011 +0530

    Add pactch to remove setuptools_hg dependency.

 django-threaded-multihost.spec |    3 ++-
 setup.patch                    |    8 ++++++++
 2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/django-threaded-multihost.spec b/django-threaded-multihost.spec
index b83a36b..4f53936 100644
--- a/django-threaded-multihost.spec
+++ b/django-threaded-multihost.spec
@@ -10,6 +10,7 @@ License:        BSD
 URL:            http://pypi.python.org/pypi/django-threaded-multihost/
 Source0:        http://pypi.python.org/packages/source/d/django-threaded-multihost/%{name}-%{srcversion}.tar.gz
 
+Patch0:         setup.patch
 BuildArch:      noarch
 BuildRequires:  python-setuptools
 BuildRequires:  python-devel    
@@ -20,7 +21,7 @@ enable easy multi-site awareness in Django apps.
 
 %prep
 %setup -q -n %{name}-%{srcversion}
-
+%patch0 -p0
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
diff --git a/setup.patch b/setup.patch
new file mode 100644
index 0000000..2021d1f
--- /dev/null
+++ b/setup.patch
@@ -0,0 +1,8 @@
+--- django-threaded-multihost-1.4-0/setup.py	2010-03-20 04:33:26.000000000 +0530
++++ setup.py	2011-07-14 11:00:06.802345990 +0530
+@@ -25,5 +25,4 @@
+     packages = ['threaded_multihost'],
+     #package_dir = {'':'threaded_multihost'},
+     include_package_data = False,
+-    setup_requires = ["setuptools_hg"],
+ )


More information about the scm-commits mailing list