rpms/python-tgcaptcha/F-8 python-tgcaptcha-0.11-pycrypto.patch, NONE, 1.1 python-tgcaptcha.spec, 1.1, 1.2

Luke Macken (lmacken) fedora-extras-commits at redhat.com
Wed Apr 23 19:20:41 UTC 2008


Author: lmacken

Update of /cvs/pkgs/rpms/python-tgcaptcha/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29099

Modified Files:
	python-tgcaptcha.spec 
Added Files:
	python-tgcaptcha-0.11-pycrypto.patch 
Log Message:
* Wed Apr 23 2008 Luke Macken <lmacken at redhat.com> 0.11-3
- Add a patch to remove the PyCrypto requirement from the egg info, as this
  does not exist in F8.
- Require python-imaging



python-tgcaptcha-0.11-pycrypto.patch:

--- NEW FILE python-tgcaptcha-0.11-pycrypto.patch ---
--- setup.py.orig	2008-04-23 15:14:40.000000000 -0400
+++ setup.py	2008-04-23 15:14:51.000000000 -0400
@@ -17,8 +17,7 @@
     #download_url=download_url,
     license=license,
     
-    install_requires = ["TurboGears >= 1.0.1",
-        "pycrypto >= 2.0.1"],
+    install_requires = ["TurboGears >= 1.0.1"],
     # dependency_links = ['http://effbot.org/downloads/'],
     zip_safe=False,
     packages=find_packages(exclude=['tests']),


Index: python-tgcaptcha.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-tgcaptcha/F-8/python-tgcaptcha.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- python-tgcaptcha.spec	13 Mar 2008 14:43:20 -0000	1.1
+++ python-tgcaptcha.spec	23 Apr 2008 19:20:01 -0000	1.2
@@ -4,19 +4,21 @@
 
 Name:           python-tgcaptcha
 Version:        0.11
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A TurboGears CAPTCHA widget for forms
 
 Group:          Development/Libraries
 License:        MIT
 URL:            http://code.google.com/p/tgcaptcha
 Source0:        http://tgcaptcha.googlecode.com/files/%{eggname}-%{version}.tar.gz
+Patch0:         %{name}-%{version}-pycrypto.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
 BuildRequires:  python-devel TurboGears
 Requires:       TurboGears >= 1.0.1
 Requires:       python-crypto >= 2.0.1
+Requires:       python-imaging
 
 %description
 TGCaptcha is a TurboGears widget that provides an easy way to incorporate a
@@ -25,6 +27,7 @@
 
 %prep
 %setup -q -n %{eggname}-%{version}
+%patch0
 chmod -x tgcaptcha/static/fonts/tuffy/*
 
 
@@ -49,6 +52,11 @@
 
 
 %changelog
+* Wed Apr 23 2008 Luke Macken <lmacken at redhat.com> 0.11-3
+- Add a patch to remove the PyCrypto requirement from the egg info, as this
+  does not exist in F8.
+- Require python-imaging
+
 * Tue Mar 11 2008 Luke Macken <lmacken at redhat.com> 0.11-2
 - Make package noarch
 - Fix lengthy description




More information about the fedora-extras-commits mailing list