[packages/python-recaptcha] restore __init__ for recaptcha module
glen
glen at pld-linux.org
Tue Jan 29 16:41:54 CET 2013
commit fcee8ed557ca8ef39ad175a518c96b22bffeb899
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Jan 29 17:40:46 2013 +0200
restore __init__ for recaptcha module
lost in 64687402e29bdfe0e696084ab153f659559158ca
added originally in initial commit
e8da9d2692c66b66c5bc52fc988602ffd61e12c3
python-recaptcha.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/python-recaptcha.spec b/python-recaptcha.spec
index 142033a..521effc 100644
--- a/python-recaptcha.spec
+++ b/python-recaptcha.spec
@@ -3,7 +3,7 @@ Summary: A client for reCAPTCHA and reCAPTCHA Mailhide
Summary(pl.UTF-8): Klient usług reCAPTCHA i reCAPTCHA Mailhide
Name: python-recaptcha
Version: 1.0.6
-Release: 2
+Release: 3
License: MIT
Group: Libraries/Python
Source0: http://pypi.python.org/packages/source/r/recaptcha-client/%{fname}-%{version}.tar.gz
@@ -49,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT
--optimize=2 \
--root=$RPM_BUILD_ROOT
+# structure of this module is an incredible fuckup. anyone knows how to fix this?
+cp -p recaptcha/__init__.py[co] $RPM_BUILD_ROOT%{py_sitescriptdir}/recaptcha
+
%py_postclean
%clean
@@ -57,6 +60,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%dir %{py_sitescriptdir}/recaptcha
+%{py_sitescriptdir}/recaptcha/__init__.py[co]
%dir %{py_sitescriptdir}/recaptcha/client
%{py_sitescriptdir}/recaptcha/client/*.py[co]
%{py_sitescriptdir}/recaptcha_client-%{version}-py*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-recaptcha.git/commitdiff/fcee8ed557ca8ef39ad175a518c96b22bffeb899
More information about the pld-cvs-commit
mailing list