]> git.pld-linux.org Git - packages/python-recaptcha.git/blobdiff - python-recaptcha.spec
restore __init__ for recaptcha module
[packages/python-recaptcha.git] / python-recaptcha.spec
index 142033a3054ebf667a50ad72e7a6906514150f96..521effc997a51c06d54737b2d631af672e51998f 100644 (file)
@@ -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
This page took 0.052405 seconds and 4 git commands to generate.