[packages/python-recaptcha] Up to 2.0.1.

arekm arekm at pld-linux.org
Sat Oct 23 14:20:34 CEST 2021


commit a21dd4dd8e5a0e86718512f815fee556c4ebf65f
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Oct 23 14:19:33 2021 +0200

    Up to 2.0.1.

 python-recaptcha.spec | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)
---
diff --git a/python-recaptcha.spec b/python-recaptcha.spec
index 99eb430..624e906 100644
--- a/python-recaptcha.spec
+++ b/python-recaptcha.spec
@@ -1,13 +1,12 @@
-%define		fname	recaptcha-client
 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:	5
+Version:	2.0.1
+Release:	1
 License:	MIT
 Group:		Libraries/Python
-Source0:	http://pypi.python.org/packages/source/r/recaptcha-client/%{fname}-%{version}.tar.gz
-# Source0-md5:	74228180f7e1fb76c4d7089160b0d919
+Source0:	https://github.com/redhat-infosec/python-recaptcha/releases/download/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	2fe1e40784a5177f9b2b69de0f3d86fe
 URL:		http://www.google.com/recaptcha
 BuildRequires:	python >= 1:2.5
 BuildRequires:	python-setuptools
@@ -37,7 +36,7 @@ używać CAPTCHA, należy pobrać klucz ze strony
 strony <http://mailhide.recaptcha.net/apikey>.
 
 %prep
-%setup -qn %{fname}-%{version}
+%setup -q
 
 %build
 %py_build
@@ -46,9 +45,6 @@ strony <http://mailhide.recaptcha.net/apikey>.
 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 $RPM_BUILD_ROOT%{py_sitescriptdir}/recaptcha
-
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}/recaptcha
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}/recaptcha
 %py_postclean
@@ -63,4 +59,3 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{py_sitescriptdir}/recaptcha/client
 %{py_sitescriptdir}/recaptcha/client/*.py[co]
 %{py_sitescriptdir}/recaptcha_client-%{version}-py*.egg-info
-%{py_sitescriptdir}/recaptcha_client-%{version}-py*-nspkg.pth
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list