[packages/python-recaptcha] - fixed install - rel 5

baggins baggins at pld-linux.org
Sat May 7 20:35:12 CEST 2016


commit 8063f944d458438ec017078e024ee5218d938f41
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat May 7 20:35:01 2016 +0200

    - fixed install
    - rel 5

 python-recaptcha.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/python-recaptcha.spec b/python-recaptcha.spec
index 31d3a68..99eb430 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:	4
+Release:	5
 License:	MIT
 Group:		Libraries/Python
 Source0:	http://pypi.python.org/packages/source/r/recaptcha-client/%{fname}-%{version}.tar.gz
@@ -47,8 +47,10 @@ rm -rf $RPM_BUILD_ROOT
 %py_install
 
 # 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
+cp -p recaptcha/__init__.py $RPM_BUILD_ROOT%{py_sitescriptdir}/recaptcha
 
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}/recaptcha
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}/recaptcha
 %py_postclean
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-recaptcha.git/commitdiff/8063f944d458438ec017078e024ee5218d938f41



More information about the pld-cvs-commit mailing list