Группа :: Development/Python3
Пакет: python3-module-django-recaptcha
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname django-recaptcha
Name: python3-module-%oname
Version: 2.0.6
Release: alt1
Summary: Django recaptcha form field/widget app
License: BSD
Group: Development/Python3
Url: https://pypi.python.org/pypi/django-recaptcha/
BuildArch: noarch
# https://github.com/praekelt/django-recaptcha.git
Source0: %name-%version.tar.gz
BuildRequires(pre): rpm-build-python3
%description
django-recaptcha uses a modified version of the Python reCAPTCHA client
which is included in the package as client.py.
%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR
%description tests
django-recaptcha uses a modified version of the Python reCAPTCHA client
which is included in the package as client.py.
This package contains tests for %oname.
%prep
%setup
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
$(find ./ -name '*.py')
%build
%python3_build_debug
%install
%python3_install
%files
%doc *.rst
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*/tests
%files tests
%python3_sitelibdir/*/tests
%changelog
…
Полный changelog можно просмотреть здесь
%define oname django-recaptcha
Name: python3-module-%oname
Version: 2.0.6
Release: alt1
Summary: Django recaptcha form field/widget app
License: BSD
Group: Development/Python3
Url: https://pypi.python.org/pypi/django-recaptcha/
BuildArch: noarch
# https://github.com/praekelt/django-recaptcha.git
Source0: %name-%version.tar.gz
BuildRequires(pre): rpm-build-python3
%description
django-recaptcha uses a modified version of the Python reCAPTCHA client
which is included in the package as client.py.
%package tests
Summary: Tests for %oname
Group: Development/Python3
Requires: %name = %EVR
%description tests
django-recaptcha uses a modified version of the Python reCAPTCHA client
which is included in the package as client.py.
This package contains tests for %oname.
%prep
%setup
sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
$(find ./ -name '*.py')
%build
%python3_build_debug
%install
%python3_install
%files
%doc *.rst
%python3_sitelibdir/*
%exclude %python3_sitelibdir/*/tests
%files tests
%python3_sitelibdir/*/tests
%changelog
…
Полный changelog можно просмотреть здесь