]> git.pld-linux.org Git - packages/python-recaptcha.git/blobdiff - python-recaptcha.spec
Up to 2.0.1.
[packages/python-recaptcha.git] / python-recaptcha.spec
index 99eb430669190a2afb498a1452fcec2a8864e236..624e906d607d549d1a333eee297c7ed8e24a2631 100644 (file)
@@ -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
This page took 0.106615 seconds and 4 git commands to generate.